mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 01:28:47 +02:00
Update Symfony bundles
This commit is contained in:
committed by
bdalsass
parent
31cc294cc3
commit
25a612da04
5
lib/symfony/cache/Adapter/ArrayAdapter.php
vendored
5
lib/symfony/cache/Adapter/ArrayAdapter.php
vendored
@@ -81,7 +81,10 @@ class ArrayAdapter implements AdapterInterface, CacheInterface, LoggerAwareInter
|
||||
// ArrayAdapter works in memory, we don't care about stampede protection
|
||||
if (\INF === $beta || !$item->isHit()) {
|
||||
$save = true;
|
||||
$this->save($item->set($callback($item, $save)));
|
||||
$item->set($callback($item, $save));
|
||||
if ($save) {
|
||||
$this->save($item);
|
||||
}
|
||||
}
|
||||
|
||||
return $item->get();
|
||||
|
||||
Reference in New Issue
Block a user