mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
⬆️ Upgrading dependencies
This commit is contained in:
8
lib/symfony/cache/Traits/RedisTrait.php
vendored
8
lib/symfony/cache/Traits/RedisTrait.php
vendored
@@ -179,7 +179,13 @@ trait RedisTrait
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$values = array_combine($ids, $this->redis->mget($ids));
|
||||
$values = $this->redis->mget($ids);
|
||||
|
||||
if (!\is_array($values) || \count($values) !== \count($ids)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$values = array_combine($ids, $values);
|
||||
}
|
||||
|
||||
foreach ($values as $id => $v) {
|
||||
|
||||
Reference in New Issue
Block a user