aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorPatrick Webster <noxwizard@phpbb.com>2012-07-17 12:08:13 -0500
committerAndreas Fischer <bantu@phpbb.com>2012-07-17 20:53:29 +0200
commitae07e80a6513b7277ba4a6a282df8281d2a37576 (patch)
tree291dd24fdf33d6ac0a3c3f3855282b8a9e207413 /phpBB/includes
parent3a70bc2c75b28eba2b0b37f0d41ec5de06d2d8cd (diff)
downloadforums-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.php2
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;
}
/**