summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-07-24 10:13:35 +0200
committerAndrey Andreev <narf@bofh.bg>2012-07-24 10:13:35 +0200
commit7af48d061b7b4250fdb54466655ad1067856d326 (patch)
tree4d4b9463c147c487abbbbdf6fa4cdb3728e7ad1c /system/core
parentaa6868d9b9664553066cce908211030693774273 (diff)
Change is_loaded() to return a reference
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Common.php2
1 files changed, 1 insertions, 1 deletions
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();