diff options
author | admin <devnull@localhost> | 2006-09-15 22:07:00 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-15 22:07:00 +0200 |
commit | 349b09c2af14c79c332a6b7d5e3b653a8ad527b7 (patch) | |
tree | 739dd6bad65da8948eacb192c4b15f115f7f6836 /system/codeigniter | |
parent | af436d7ceb4ea5afb96e3cbe1545ba9ace3d062a (diff) |
Diffstat (limited to 'system/codeigniter')
-rw-r--r-- | system/codeigniter/Common.php | 4 |
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; } } |