mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 20:43:25 +00:00
#PHRAS-920 time 1h
fix : "BaseFromColl" (dbox coll_id -> abox base_id) check for sbas_id
This commit is contained in:
@@ -74,7 +74,7 @@ class ArrayCacheCollectionReferenceRepository implements CollectionReferenceRepo
|
||||
$references = $this->findAll();
|
||||
|
||||
foreach ($references as $reference) {
|
||||
if ($reference->getCollectionId() == $collectionId) {
|
||||
if ($reference->getDataboxId() == $databoxId && $reference->getCollectionId() == $collectionId) {
|
||||
return $reference;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user