Fix undefined index

This commit is contained in:
Thibaud Fabre
2015-07-09 14:23:19 +02:00
parent 20355effe9
commit 6f8545569f
2 changed files with 7 additions and 7 deletions

View File

@@ -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;