Skip to content

Commit

Permalink
Fix assignment of the merge result
Browse files Browse the repository at this point in the history
  • Loading branch information
chrizzor committed Jun 28, 2024
1 parent 2311c83 commit 246d785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Common/MetsDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ private function getSubentries($allSubentries, string $parentIndex, \DOMNode $pa
if ($subentry['parent_index_name'] == $parentIndex) {
$values = $domXPath->evaluate($subentry['xpath'], $parentNode);
if (!empty($subentry['xpath']) && ($values)) {
array_merge($theseSubentries, $this->getSubentryValue($values, $subentry));
$theseSubentries = array_merge($theseSubentries, $this->getSubentryValue($values, $subentry));
}
// Set default value if applicable.
if (
Expand Down

0 comments on commit 246d785

Please sign in to comment.