mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 04:53:26 +00:00
Fix undefined index
This commit is contained in:
@@ -99,7 +99,7 @@ class DbalCollectionRepository implements CollectionRepository
|
||||
$row = $connection->fetchAssoc($query, [ ':collectionId' => $reference->getCollectionId() ]);
|
||||
|
||||
if ($row !== false) {
|
||||
return $this->collectionFactory->create($databoxId, $row['baseId'], $reference, $row);
|
||||
return $this->collectionFactory->create($databoxId, $reference, $row);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user