summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTufan Barış YILDIRIM <tufanbarisyildirim@gmail.com>2013-12-19 20:32:42 +0100
committerTufan Barış YILDIRIM <tufanbarisyildirim@gmail.com>2013-12-19 20:32:42 +0100
commit341532c5d631689c3f9f1a318db598d1ce5344d8 (patch)
tree55888bb85f26b3c71eeabddc32ad30abd3e1e796
parent0db570c1958e43531b7dc3c83584c85521a3d144 (diff)
so we need \sNOT EXISTS
-rw-r--r--system/database/DB_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 33903434c..ba6a4b70d 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1421,7 +1421,7 @@ abstract class CI_DB_driver {
*/
protected function _has_operator($str)
{
- return (bool) preg_match('/(<|>|!|=|\sIS NULL|\sIS NOT NULL|\sEXISTS|\sBETWEEN|\sLIKE|\sIN\s*\(|\s)/i', trim($str));
+ return (bool) preg_match('/(<|>|!|=|\sIS NULL|\sIS NOT NULL|\sEXISTS|\sNOT EXISTS|\sBETWEEN|\sLIKE|\sIN\s*\(|\s)/i', trim($str));
}
// --------------------------------------------------------------------