[RedisCache] Fix use of undefined variable
This commit is contained in:
parent
d7c2c98a02
commit
df468f9605
@ -115,7 +115,7 @@ class RedisCachePlugin extends Plugin
|
||||
}
|
||||
|
||||
// Let other caches delete stuff if we didn't succeed
|
||||
return $ret === 1;
|
||||
return isset($ret) && $ret === 1;
|
||||
}
|
||||
|
||||
function onStartCacheIncrement(&$key, &$step, &$value)
|
||||
|
Loading…
Reference in New Issue
Block a user