mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 00:48:25 +00:00
parent
9c2a25d4c0
commit
638d2ea7b6
1 changed files with 1 additions and 1 deletions
|
@ -776,7 +776,7 @@ class DboSource extends DataSource {
|
|||
return $value;
|
||||
}
|
||||
if (!$this->_methodCacheChange && empty(self::$methodCache)) {
|
||||
self::$methodCache = Cache::read('method_cache', '_cake_core_');
|
||||
self::$methodCache = (array)Cache::read('method_cache', '_cake_core_');
|
||||
}
|
||||
if ($value === null) {
|
||||
return (isset(self::$methodCache[$method][$key])) ? self::$methodCache[$method][$key] : null;
|
||||
|
|
Loading…
Add table
Reference in a new issue