summaryrefslogtreecommitdiffstats
path: root/system/core/Loader.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-07-16 14:16:51 +0200
committerAndrey Andreev <narf@bofh.bg>2012-07-16 14:16:51 +0200
commit36a97113d40bba7ec04287762693d2fa69d67c3a (patch)
tree7234f7ff2f742c8982df9a3c325038a80ad161bf /system/core/Loader.php
parent4876b4837546c8c9f659bb74c68b16cdb326c844 (diff)
parenteee2df6846ec072303dd87192d328fbd1de6b06a (diff)
Merge pull request #1625 from jonnu/develop
Inconsistency between log_message and show_error when encountering a non-existant class
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 bfcef1cbc..0bc6e844a 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -1091,7 +1091,7 @@ class CI_Loader {
if ( ! class_exists($name))
{
log_message('error', 'Non-existent class: '.$name);
- show_error('Non-existent class: '.$class);
+ show_error('Non-existent class: '.$name);
}
// Set the variable name we will assign the class to