[RedisCache] Fix use of undefined variable

This commit is contained in:
Miguel Dantas 2019-08-14 14:53:57 +01:00 committed by Diogo Cordeiro
parent e2e8885ce3
commit 05be2e7386

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)