Skip to content

Commit

Permalink
151 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ilnytskyi authored Feb 28, 2020
1 parent 5dd4032 commit d58327f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cm/Cache/Backend/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d58327f

Please sign in to comment.