summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlsrv/sqlsrv_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-01-26 13:49:23 +0100
committerAndrey Andreev <narf@bofh.bg>2012-01-26 13:49:23 +0100
commit993f932cb27f68ac4a3272502a823af0835b291c (patch)
treebe5b799a66231d6df4a4c8981092997284f3ec1a /system/database/drivers/sqlsrv/sqlsrv_driver.php
parent684ee3a330c90744b249b48212d85dfe4d3b1caf (diff)
Another minor improvement and fix a possible false-positive
Diffstat (limited to 'system/database/drivers/sqlsrv/sqlsrv_driver.php')
-rw-r--r--system/database/drivers/sqlsrv/sqlsrv_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/sqlsrv/sqlsrv_driver.php b/system/database/drivers/sqlsrv/sqlsrv_driver.php
index cdd178261..0c24ef38f 100644
--- a/system/database/drivers/sqlsrv/sqlsrv_driver.php
+++ b/system/database/drivers/sqlsrv/sqlsrv_driver.php
@@ -303,7 +303,7 @@ class CI_DB_sqlsrv_driver extends CI_DB {
}
$query = $this->query('SELECT COUNT(*) AS numrows FROM '.$this->dbprefix.$table);
- if ($query->num_rows() === 0)
+ if ($query->num_rows() == 0)
{
return 0;
}