summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorjonnu <jontce@gmail.com>2012-07-16 14:06:16 +0200
committerjonnu <jontce@gmail.com>2012-07-16 14:06:16 +0200
commiteee2df6846ec072303dd87192d328fbd1de6b06a (patch)
tree7234f7ff2f742c8982df9a3c325038a80ad161bf /system/core
parent4876b4837546c8c9f659bb74c68b16cdb326c844 (diff)
Inconsistency between log_message and show_error when encountering a non-existant class
Signed-off-by: jonnu <jontce@gmail.com>
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 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