1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 22:40:39 +02:00
- doing is_null on Oracle is not good, we return empty strings instead


git-svn-id: file:///svn/phpbb/trunk@8068 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2007-08-24 18:00:28 +00:00
parent a42fe680f4
commit 4c50481379
2 changed files with 2 additions and 2 deletions

View File

@@ -297,7 +297,7 @@ class dbal_firebird extends dbal
foreach (get_object_vars($cur_row) as $key => $value)
{
$row[strtolower($key)] = trim(str_replace(array("\\0", "\\n"), array("\0", "\n"), $value));
$row[strtolower($key)] = (is_string($value)) ? trim(str_replace(array("\\0", "\\n"), array("\0", "\n"), $value)) : $value;
}
return (sizeof($row)) ? $row : false;