Skip to content

Commit

Permalink
fix error message in log
Browse files Browse the repository at this point in the history
  • Loading branch information
BFallert committed Nov 8, 2024
1 parent d9be42d commit d8e8a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Common/Solr/SolrSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ public function submit($start, $rows, $processResults = true)
'structure' => $docChild['structure'],
'metsOrderlabel' => $docChild['metsOrderlabel'],
'uid' => $docChild['uid'],
'metadata' => $metadataOf[$docChild['uid']],
'metadata' => array_key_exists($docChild['uid'], $metadataOf) ? $metadataOf[$docChild['uid']] : null,
];
$documents[$doc['uid']]['children'][$docChild['uid']] = $childDocument;
}
Expand Down

0 comments on commit d8e8a07

Please sign in to comment.