diff --git a/libraries/joomla/cache/storage/redis.php b/libraries/joomla/cache/storage/redis.php index 6153dbe94dbef..36765e8ceb9a6 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 ($this->isSupported()) != true) + if (self::isSupported()) != true) { return false; }