1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-23 18:11:47 +02: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']); unset($row['line2'], $row['line3']);
} }
} }
return $row; return (sizeof($row)) ? $row : false;
} }
/** /**