diff --git a/phpBB/includes/db/dbal.php b/phpBB/includes/db/dbal.php
index c02f6d4e92..c451af4d24 100644
--- a/phpBB/includes/db/dbal.php
+++ b/phpBB/includes/db/dbal.php
@@ -198,7 +198,7 @@ class dbal
if (!$this->return_on_error)
{
- $message = 'SQL ERROR [ ' . SQL_LAYER . ' ]
' . $error['message'] . ' [' . $error['code'] . '];
+ $message = 'SQL ERROR [ ' . SQL_LAYER . ' ]
' . $error['message'] . ' [' . $error['code'] . ']';
// Show complete SQL error and path to administrators only
if ($auth->acl_get('a_'))