Inconsistency between log_message and show_error when encountering a non-existant class
Signed-off-by: jonnu <jontce@gmail.com>
diff --git a/system/core/Loader.php b/system/core/Loader.php
index bfcef1c..0bc6e84 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -1091,7 +1091,7 @@
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