aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-04-18 04:17:53 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-04-18 04:17:53 +0000
commit8e18b11e344252fcf1bd46ff65583250809c6fcd (patch)
treebb3a993bb67d86d3e65f9c8f49d0fcf16949769a
parent1149fd2ca80f195a275cc378915cfe8fc111df9f (diff)
downloadforums-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
-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() : '')
);
}