1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

[ticket/10995] Return false in mssqlnative sql_fetchrow on empty result

PHPBB3-10995
This commit is contained in:
Patrick Webster 2012-07-17 12:08:13 -05:00 committed by Andreas Fischer
parent 3a70bc2c75
commit ae07e80a65

View File

@ -436,7 +436,7 @@ class dbal_mssqlnative extends dbal
unset($row['line2'], $row['line3']);
}
}
return $row;
return (sizeof($row)) ? $row : false;
}
/**