summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/libraries/Loader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php
index 550235737..e5ae3f389 100644
--- a/system/libraries/Loader.php
+++ b/system/libraries/Loader.php
@@ -909,7 +909,7 @@ class CI_Loader {
}
// Save the class name and object name
- $this->_ci_classes[$class] = $object_name;
+ $this->_ci_classes[$class] = $classvar;
// Instantiate the class
$CI =& get_instance();