diff --git a/libraries/joomla/cache/storage/redis.php b/libraries/joomla/cache/storage/redis.php index 36765e8ceb9a6..c17f5963d64da 100644 --- a/libraries/joomla/cache/storage/redis.php +++ b/libraries/joomla/cache/storage/redis.php @@ -61,7 +61,7 @@ public function __construct($options = array()) */ protected function getConnection() { - if (self::isSupported()) != true) + if (static::isSupported() != true) { return false; }