summaryrefslogtreecommitdiffstats
path: root/system/codeigniter/Common.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-15 22:07:00 +0200
committeradmin <devnull@localhost>2006-09-15 22:07:00 +0200
commit349b09c2af14c79c332a6b7d5e3b653a8ad527b7 (patch)
tree739dd6bad65da8948eacb192c4b15f115f7f6836 /system/codeigniter/Common.php
parentaf436d7ceb4ea5afb96e3cbe1545ba9ace3d062a (diff)
Diffstat (limited to 'system/codeigniter/Common.php')
-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;
}
}