mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +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();
|
$references = $this->findAll();
|
||||||
|
|
||||||
foreach ($references as $reference) {
|
foreach ($references as $reference) {
|
||||||
if ($reference->getCollectionId() == $collectionId) {
|
if ($reference->getDataboxId() == $databoxId && $reference->getCollectionId() == $collectionId) {
|
||||||
return $reference;
|
return $reference;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user