diff options
author | Emrul Easir <emrulmax2@gmail.com> | 2019-03-28 22:44:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-28 22:44:14 +0100 |
commit | 61db61473df738e2cdb9ec28727816b450a84b53 (patch) | |
tree | 6583e83344aa4402c5bc0772dcbd77969c14a0f6 /system/database | |
parent | d8c7f8d190b9215959b68a5272c76e9b79371999 (diff) |
NOT BETWEEN update
used \s NOT BETWEEN instead of \sNOT BETWEEN, so updated this patch
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/DB_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index e901f2948..91777ce3a 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -1476,7 +1476,7 @@ abstract class CI_DB_driver { */ protected function _has_operator($str) { - return (bool) preg_match('/(<|>|!|=|\sIS NULL|\sIS NOT NULL|\sEXISTS|\sBETWEEN|\s NOT BETWEEN|\sLIKE|\sIN\s*\(|\s)/i', trim($str)); + return (bool) preg_match('/(<|>|!|=|\sIS NULL|\sIS NOT NULL|\sEXISTS|\sBETWEEN|\sNOT BETWEEN|\sLIKE|\sIN\s*\(|\s)/i', trim($str)); } // -------------------------------------------------------------------- |