aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/db/firebird.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/firebird.php b/phpBB/includes/db/firebird.php
index 9ee3fcc171..21e8052a9a 100644
--- a/phpBB/includes/db/firebird.php
+++ b/phpBB/includes/db/firebird.php
@@ -330,7 +330,7 @@ class dbal_firebird extends dbal
{
return array(
'message' => @ibase_errmsg(),
- 'code' => ''
+ 'code' => (@function_exists('ibase_errcode') ? @ibase_errcode() : '')
);
}