From df468f96058b5793da22ae8342ed18737a54a1c7 Mon Sep 17 00:00:00 2001 From: Miguel Dantas Date: Wed, 14 Aug 2019 14:53:57 +0100 Subject: [PATCH] [RedisCache] Fix use of undefined variable --- plugins/RedisCache/RedisCachePlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/RedisCache/RedisCachePlugin.php b/plugins/RedisCache/RedisCachePlugin.php index e15150c4c9..62c5b09c43 100644 --- a/plugins/RedisCache/RedisCachePlugin.php +++ b/plugins/RedisCache/RedisCachePlugin.php @@ -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)