From 8e18b11e344252fcf1bd46ff65583250809c6fcd Mon Sep 17 00:00:00 2001 From: David M Date: Tue, 18 Apr 2006 04:17:53 +0000 Subject: [PATCH] - firebird returns an error code (if you are on php 5) git-svn-id: file:///svn/phpbb/trunk@5795 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/db/firebird.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() : '') ); }