small fix

- david: please review the mssql change


git-svn-id: file:///svn/phpbb/trunk@8165 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2007-10-12 10:04:44 +00:00
parent f3fd365496
commit 6b334d8b7c
4 changed files with 4 additions and 4 deletions

View file

@ -234,7 +234,7 @@ class dbal_mssql extends dbal
{ {
foreach ($row as $key => $value) foreach ($row as $key => $value)
{ {
$row[$key] = ($value === ' ') ? '' : $value; $row[$key] = ($value === ' ' || $value === NULL) ? '' : $value;
} }
} }