diff options
author | Patrick Webster <noxwizard@phpbb.com> | 2012-07-17 12:08:13 -0500 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2012-07-17 20:53:29 +0200 |
commit | ae07e80a6513b7277ba4a6a282df8281d2a37576 (patch) | |
tree | 291dd24fdf33d6ac0a3c3f3855282b8a9e207413 /phpBB/includes | |
parent | 3a70bc2c75b28eba2b0b37f0d41ec5de06d2d8cd (diff) | |
download | forums-ae07e80a6513b7277ba4a6a282df8281d2a37576.tar forums-ae07e80a6513b7277ba4a6a282df8281d2a37576.tar.gz forums-ae07e80a6513b7277ba4a6a282df8281d2a37576.tar.bz2 forums-ae07e80a6513b7277ba4a6a282df8281d2a37576.tar.xz forums-ae07e80a6513b7277ba4a6a282df8281d2a37576.zip |
[ticket/10995] Return false in mssqlnative sql_fetchrow on empty result
PHPBB3-10995
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/db/mssqlnative.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/mssqlnative.php b/phpBB/includes/db/mssqlnative.php index c91cc188b0..ff2f369706 100644 --- a/phpBB/includes/db/mssqlnative.php +++ b/phpBB/includes/db/mssqlnative.php @@ -436,7 +436,7 @@ class dbal_mssqlnative extends dbal unset($row['line2'], $row['line3']); } } - return $row; + return (sizeof($row)) ? $row : false; } /** |