diff --git a/src/Libs/ModelMySQL.php b/src/Libs/ModelMySQL.php index 3778481..6c5551e 100644 --- a/src/Libs/ModelMySQL.php +++ b/src/Libs/ModelMySQL.php @@ -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(); }