mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-06 14:35:56 +02:00
- firebird returns an error code (if you are on php 5)
git-svn-id: file:///svn/phpbb/trunk@5795 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
1149fd2ca8
commit
8e18b11e34
@ -330,7 +330,7 @@ class dbal_firebird extends dbal
|
|||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'message' => @ibase_errmsg(),
|
'message' => @ibase_errmsg(),
|
||||||
'code' => ''
|
'code' => (@function_exists('ibase_errcode') ? @ibase_errcode() : '')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user