]> git.joonet.de Git - adminer.git/commitdiff
MS SQL: Fix type
authorJakub Vrana <jakub@vrana.cz>
Mon, 31 Mar 2025 07:34:13 +0000 (09:34 +0200)
committerJakub Vrana <jakub@vrana.cz>
Mon, 31 Mar 2025 08:09:31 +0000 (10:09 +0200)
adminer/drivers/mssql.inc.php

index 8a05696c9a37d2e0f51485e87b51bef96135838f..c16a0c13cf5ef49626f28255428b191c1ff6f0e5 100644 (file)
@@ -92,7 +92,7 @@ if (isset($_GET["mssql"])) {
                        }
 
                        function next_result(): bool {
-                               return $this->result ? sqlsrv_next_result($this->result) : null;
+                               return $this->result ? !!sqlsrv_next_result($this->result) : false;
                        }
                }