summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index ea56d3819..02c64f9f1 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1167,9 +1167,8 @@ abstract class CI_DB_driver {
if (empty($_operators))
{
$_les = ($this->_like_escape_str !== '')
- ? preg_quote(trim(sprintf($this->_like_escape_str, $this->_like_escape_chr)))
+ ? '\s+'.preg_quote(trim(sprintf($this->_like_escape_str, $this->_like_escape_chr)))
: '';
-
$_operators = array(
'\s*(?:<|>|!)?=\s*', // =, <=, >=, !=
'\s*<>?\s*', // <, <>