fix and/or concatenation.
This commit is contained in:
parent
708cce70eb
commit
856557405e
@ -282,7 +282,7 @@ class ModelMySQL {
|
||||
|
||||
$value = self::db()->real_escape_string($value);
|
||||
|
||||
self::$querySelect['AndOr'] = " AND $column$operator'$value'";
|
||||
self::$querySelect['AndOr'] .= " AND $column$operator'$value'";
|
||||
|
||||
return new static();
|
||||
}
|
||||
@ -296,7 +296,7 @@ class ModelMySQL {
|
||||
|
||||
$value = self::db()->real_escape_string($value);
|
||||
|
||||
self::$querySelect['AndOr'] = " OR $column$operator'$value'";
|
||||
self::$querySelect['AndOr'] .= " OR $column$operator'$value'";
|
||||
|
||||
return new static();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user