Skip to content

Commit

Permalink
fix bug reading of collections from database doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernd Fallert committed Aug 28, 2024
1 parent e7d6d01 commit fc16589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/MetadataController.php
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ private function parseCollections(int $i, $value, array &$metadata) : void
foreach ($value as $entry) {
$collection = $this->collectionRepository->findOneByIndexName($entry);
if ($collection) {
$metadata[$i]['collection'][$j] = $collection->getLabel() ? : '';
$metadata[$i]['collection'] = $collection->getLabel() ? : '';
$j++;
}
}
Expand Down

0 comments on commit fc16589

Please sign in to comment.