mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
parent
63902ab73f
commit
e86ae43796
1 changed files with 2 additions and 2 deletions
|
@ -2239,8 +2239,8 @@ class DboSource extends DataSource {
|
|||
* @access private
|
||||
*/
|
||||
function __parseKey(&$model, $key, $value) {
|
||||
$operatorMatch = '/^((' . implode(')|(', $this->__sqlOps);
|
||||
$operatorMatch .= '\\x20)|<[>=]?(?![^>]+>)\\x20?|[>=!]{1,3}(?!<)\\x20?)/is';
|
||||
$operatorMatch = '/^(((' . implode(')|(', $this->__sqlOps);
|
||||
$operatorMatch .= ')\\x20?)|<[>=]?(?![^>]+>)\\x20?|[>=!]{1,3}(?!<)\\x20?)/is';
|
||||
$bound = (strpos($key, '?') !== false || (is_array($value) && strpos($key, ':') !== false));
|
||||
|
||||
if (!strpos($key, ' ')) {
|
||||
|
|
Loading…
Reference in a new issue