[RedisCache] Fix use of undefined variable

This commit is contained in:
Miguel Dantas 2019-08-14 14:53:57 +01:00 committed by Diogo Peralta Cordeiro
parent d7c2c98a02
commit df468f9605

View File

@ -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)