diff --git a/src/LikePDO/Drivers/MssqlDriver.php b/src/LikePDO/Drivers/MssqlDriver.php index 46bd2ce..5099ad1 100755 --- a/src/LikePDO/Drivers/MssqlDriver.php +++ b/src/LikePDO/Drivers/MssqlDriver.php @@ -239,8 +239,7 @@ public function getNumFields($statement) { if(!is_resource($statement)) { - throw new LikePDOException("There is no active statement"); - return false; + return 0; } else {