diff options
author | David M <davidmj@users.sourceforge.net> | 2006-04-18 04:17:53 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-04-18 04:17:53 +0000 |
commit | 8e18b11e344252fcf1bd46ff65583250809c6fcd (patch) | |
tree | bb3a993bb67d86d3e65f9c8f49d0fcf16949769a /phpBB/includes/db/firebird.php | |
parent | 1149fd2ca80f195a275cc378915cfe8fc111df9f (diff) | |
download | forums-8e18b11e344252fcf1bd46ff65583250809c6fcd.tar forums-8e18b11e344252fcf1bd46ff65583250809c6fcd.tar.gz forums-8e18b11e344252fcf1bd46ff65583250809c6fcd.tar.bz2 forums-8e18b11e344252fcf1bd46ff65583250809c6fcd.tar.xz forums-8e18b11e344252fcf1bd46ff65583250809c6fcd.zip |
- firebird returns an error code (if you are on php 5)
git-svn-id: file:///svn/phpbb/trunk@5795 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db/firebird.php')
-rw-r--r-- | phpBB/includes/db/firebird.php | 2 |
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() : '') ); } |