commit | f7631f18d65eaf7f2b3aa5ee603e84008a681ffc | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Mon Jul 27 21:54:41 2015 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Mon Jul 27 21:54:41 2015 +0300 |
tree | b8d6ed9063abb341e30e12ad3359a3d4e52268e5 | |
parent | 2dfbe9997b28892342e826e9350a466e6bacfd2e [diff] [blame] |
Revert "Fix an internal bug in QB where() escaping" This reverts commit 43afc71b777b00cfc2638add6fa3c47d333c5e04.
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php index da88204..6ea7841 100644 --- a/system/database/DB_query_builder.php +++ b/system/database/DB_query_builder.php
@@ -657,7 +657,10 @@ if ($v !== NULL) { - $v = ' '.$this->escape($v); + if ($escape === TRUE) + { + $v = ' '.$this->escape($v); + } if ( ! $this->_has_operator($k)) {