Fix cache invalidation on save

This commit is contained in:
Thibaud Fabre
2015-07-10 18:45:21 +02:00
parent d8f498aa26
commit e5e96eafeb

View File

@@ -54,7 +54,7 @@ class ArrayCacheCollectionRepository implements CollectionRepository
$this->collectionRepository->save($collection);
if ($this->collectionCache !== null) {
$this->collectionCache[$collection->getCollectionId()] = $collection;
$this->collectionCache = null;
}
}