fixing error in import map when cache is empty

This commit is contained in:
gwoo 2009-06-14 10:28:30 -07:00
parent f9339e3c81
commit 9b4e08e93b

View file

@ -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];
} }