From cd01334a26a31b4890e0dd697203d3481bcf26e4 Mon Sep 17 00:00:00 2001 From: michalsn Date: Sun, 4 Oct 2020 20:42:07 +0200 Subject: [PATCH] Stop printing errors --- system/Database/Sqlsrv/Result.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Database/Sqlsrv/Result.php b/system/Database/Sqlsrv/Result.php index d8f0141b87be..c15e3708658b 100755 --- a/system/Database/Sqlsrv/Result.php +++ b/system/Database/Sqlsrv/Result.php @@ -167,7 +167,7 @@ public function freeResult() */ public function dataSeek(int $n = 0) { - if ($n) + if ($n > 0) { for ($i = 0; $i < $n; $i++) {