From d58327fc34f8763101e0fc487be9218a892c3a7c Mon Sep 17 00:00:00 2001 From: Stanislav Ilnytskyi Date: Fri, 28 Feb 2020 12:13:10 +0100 Subject: [PATCH] 151 fix --- Cm/Cache/Backend/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cm/Cache/Backend/Redis.php b/Cm/Cache/Backend/Redis.php index 0013de0..01eadbe 100644 --- a/Cm/Cache/Backend/Redis.php +++ b/Cm/Cache/Backend/Redis.php @@ -470,7 +470,7 @@ public function load($id, $doNotTestCacheValidity = false) } else { $data = $this->_redis->hGet(self::PREFIX_KEY.$id, self::FIELD_DATA); } - if ($data === NULL) { + if ($data === NULL || is_object($data)) { return FALSE; }