Skip to content

Commit ce1fa6f

Browse files
committed
bug fix
1 parent aa05f55 commit ce1fa6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/Configs.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ protected function getDb()
8383

8484
protected function getCache()
8585
{
86-
if ($this->_configs['cache'] !== null && !($this->_configs['cache'] instanceof Connection)) {
86+
if ($this->_configs['cache'] !== null && !($this->_configs['cache'] instanceof Cache)) {
8787
$this->_configs['cache'] = Yii::$app->get($this->_configs['cache'], false);
8888
}
8989
return $this->_configs['cache'];

0 commit comments

Comments
 (0)