mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-12 06:56:24 +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;
|
return $value;
|
||||||
}
|
}
|
||||||
if (!$this->_methodCacheChange && empty(self::$methodCache)) {
|
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) {
|
if ($value === null) {
|
||||||
return (isset(self::$methodCache[$method][$key])) ? self::$methodCache[$method][$key] : null;
|
return (isset(self::$methodCache[$method][$key])) ? self::$methodCache[$method][$key] : null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue