summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/DB_driver.php')
-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');