summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/codeigniter/Common.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/codeigniter/Common.php b/system/codeigniter/Common.php
index 1b190e201..6d76fb098 100644
--- a/system/codeigniter/Common.php
+++ b/system/codeigniter/Common.php
@@ -38,7 +38,7 @@
*/
function &_load_class($class, $instantiate = TRUE)
{
- static $objects;
+ static $objects = array();
if ( ! isset($objects[$class]))
{
@@ -63,7 +63,7 @@ function &_load_class($class, $instantiate = TRUE)
}
else
{
- $objects[$class] = FALSE;
+ $objects[$class] = TRUE;
}
}