From 7af48d061b7b4250fdb54466655ad1067856d326 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Tue, 24 Jul 2012 11:13:35 +0300 Subject: Change is_loaded() to return a reference --- system/core/Common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/core/Common.php') diff --git a/system/core/Common.php b/system/core/Common.php index d79375475..07534c51f 100644 --- a/system/core/Common.php +++ b/system/core/Common.php @@ -187,7 +187,7 @@ if ( ! function_exists('load_class')) */ if ( ! function_exists('is_loaded')) { - function is_loaded($class = '') + function &is_loaded($class = '') { static $_is_loaded = array(); -- cgit v1.2.3-24-g4f1b