This commit is contained in:
2023-08-21 16:47:30 +08:00
parent d9ffa9dae2
commit 2493b4e15d
+3 -3
View File
@@ -648,9 +648,9 @@ trait QueryTrait
*/
public function pushParam(mixed $value): static
{
if (is_string($value)) {
$value = addslashes($value);
}
// if (is_string($value)) {
// $value = addslashes($value);
// }
$this->attributes[] = $value;
return $this;
}