summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-09 16:22:08 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-09 16:22:08 +0100
commitdb97fe561f03284a287c9a588ac1ff19a9f5e71d (patch)
treef4e8a9b39b13b1df742a5f0f41d6f58980319892 /system/database/drivers
parentd8a561a9cd12317342dd2f28aea8d76e93efce0d (diff)
parentdf1bd3b443eb728284c16f0cd7fc96e677383181 (diff)
Merge pull request #2866 from darwinel/develop
Style guide
Diffstat (limited to 'system/database/drivers')
-rw-r--r--system/database/drivers/mssql/mssql_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mssql/mssql_driver.php b/system/database/drivers/mssql/mssql_driver.php
index 0836fa802..49711fec9 100644
--- a/system/database/drivers/mssql/mssql_driver.php
+++ b/system/database/drivers/mssql/mssql_driver.php
@@ -311,7 +311,7 @@ class CI_DB_mssql_driver extends CI_DB {
.' FROM '.$this->escape_identifiers('sysobjects')
.' WHERE '.$this->escape_identifiers('type')." = 'U'";
- if ($prefix_limit !== FALSE AND $this->dbprefix !== '')
+ if ($prefix_limit !== FALSE && $this->dbprefix !== '')
{
$sql .= ' AND '.$this->escape_identifiers('name')." LIKE '".$this->escape_like_str($this->dbprefix)."%' "
.sprintf($this->_like_escape_str, $this->_like_escape_chr);