mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-13 13:09:49 +00:00
fixing error in import map when cache is empty
This commit is contained in:
parent
f9339e3c81
commit
9b4e08e93b
1 changed files with 1 additions and 1 deletions
|
@ -926,7 +926,7 @@ class App extends Object {
|
||||||
static $instance = array();
|
static $instance = array();
|
||||||
if (!$instance) {
|
if (!$instance) {
|
||||||
$instance[0] =& new App();
|
$instance[0] =& new App();
|
||||||
$instance[0]->__map = Cache::read('file_map', '_cake_core_');
|
$instance[0]->__map = (array)Cache::read('file_map', '_cake_core_');
|
||||||
}
|
}
|
||||||
return $instance[0];
|
return $instance[0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue