From 349b09c2af14c79c332a6b7d5e3b653a8ad527b7 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 15 Sep 2006 20:07:00 +0000 Subject: --- system/codeigniter/Common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system') 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; } } -- cgit v1.2.3-24-g4f1b