Skip to content

Commit 0512543

Browse files
committed
Merge pull request bcit-ci#3346 from bailu/patch-1
[ci skip] 2.2-stable: fix cannot use backup driver
2 parents fe8f130 + 44a00f1 commit 0512543

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

system/libraries/Cache/Cache.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ public function __get($child)
204204
if ( ! $this->is_supported($child))
205205
{
206206
$this->_adapter = $this->_backup_driver;
207+
$obj = parent::__get($this->_adapter);
207208
}
208209

209210
return $obj;
@@ -212,4 +213,4 @@ public function __get($child)
212213
}
213214

214215
/* End of file Cache.php */
215-
/* Location: ./system/libraries/Cache/Cache.php */
216+
/* Location: ./system/libraries/Cache/Cache.php */

0 commit comments

Comments
 (0)