[RedisCache] Fix use of undefined variable
This commit is contained in:
parent
e2e8885ce3
commit
05be2e7386
@ -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