Permalink
Browse files

fixing error in import map when cache is empty

  • Loading branch information...
1 parent f9339e3 commit 9b4e08e93b24325f5ba4bc163edc5e638e3922c6 gwoo committed Jun 14, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/configure.php
View
2 cake/libs/configure.php
@@ -926,7 +926,7 @@ function &getInstance() {
static $instance = array();
if (!$instance) {
$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];
}

0 comments on commit 9b4e08e

Please sign in to comment.