summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-06-28 10:18:24 +0200
committerAndrey Andreev <narf@devilix.net>2017-06-28 10:18:24 +0200
commitdb89c20721b3b66671db9ff4d3b6c9a6de352533 (patch)
tree261cf55ecef03cab69a236f97f1f28e5f4397cce /system/core
parent894a3f2c9fe111af35dee4f5e8e711259b893fb6 (diff)
Correct fix for #5164
Diffstat (limited to 'system/core')
-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();