summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-17 09:08:31 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-10-17 09:08:31 +0200
commit7799f52d9ba6efc0c309b04d23178f5c84d12e94 (patch)
tree06629628fa72a29db41bc1923c87ed3a3b06fef5
parentd64b9f887fce91c593dcdda35916b31ccdb46ec9 (diff)
Fixed bug: 5043
-rw-r--r--system/database/DB_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 6b60d67dd..1682b5963 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1126,7 +1126,7 @@ class CI_DB_driver {
*/
function display_error($error = '', $swap = '', $native = FALSE)
{
- global $LANG;
+ $LANG =& load_class('Language');
$LANG->load('db');
$heading = $LANG->line('db_error_heading');