diff options
Diffstat (limited to 'phpBB/includes/db/dbal.php')
-rw-r--r-- | phpBB/includes/db/dbal.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/db/dbal.php b/phpBB/includes/db/dbal.php index ddb3aef4d7..f491ee0bf5 100644 --- a/phpBB/includes/db/dbal.php +++ b/phpBB/includes/db/dbal.php @@ -600,7 +600,7 @@ class dbal */ function sql_error($sql = '') { - global $auth, $user, $config; + global $auth, $user; // Set var to retrieve errored status $this->sql_error_triggered = true; @@ -634,9 +634,9 @@ class dbal } else { - if (!empty($config['board_contact'])) + if (!empty(phpbb::$config['board_contact'])) { - $message .= '<br /><br />' . sprintf($user->lang['SQL_ERROR_OCCURRED'], '<a href="mailto:' . htmlspecialchars($config['board_contact']) . '">', '</a>'); + $message .= '<br /><br />' . sprintf($user->lang['SQL_ERROR_OCCURRED'], '<a href="mailto:' . htmlspecialchars(phpbb::$config['board_contact']) . '">', '</a>'); } else { |