summaryrefslogtreecommitdiffstats
path: root/system/core/Loader.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/core/Loader.php')
-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 7be5fd41b..cae01ed38 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -1044,7 +1044,7 @@ class CI_Loader {
if ( ! isset($property))
{
$property = strtolower($class);
- isset($this->_ci_varmap[$property]) && $property = $this->_ci_varmap[$object_name];
+ isset($this->_ci_varmap[$property]) && $property = $this->_ci_varmap[$property];
}
$CI =& get_instance();