fix and/or concatenation.

This commit is contained in:
kj 2020-03-16 14:50:27 -04:00
parent 708cce70eb
commit 856557405e

View File

@ -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();
}