summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-03-28 11:22:04 +0200
committerAndrey Andreev <narf@bofh.bg>2012-03-28 11:22:04 +0200
commita11b16b1af42bbb4ffbc15eeee50a3d3ceb402d5 (patch)
treeb20cfa84848e26964bf2ffb96f137715b9e20148 /system
parent67c287192b5ff414753ae50a834932f676a0db9e (diff)
Fix a CI_Loader::_ci_load_class() bug
Diffstat (limited to 'system')
-rw-r--r--system/core/Loader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 976a5a575..027ed20e5 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -1111,7 +1111,7 @@ class CI_Loader {
}
else
{
- $CI->$classvar = new $name;
+ $CI->$classvar = new $name();
}
}