This commit is contained in:
2023-12-18 23:16:09 +08:00
parent c0ff5be651
commit d2acc197da
+1 -1
View File
@@ -717,7 +717,7 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq
if ($value === null) { if ($value === null) {
continue; continue;
} }
$this->where[] = $this->sprintf($key, $value); $this->where[] = is_numeric($key) ? $value : $this->sprintf($key, $value);
} }
return $this; return $this;
} }