fix text input

This commit is contained in:
Kavalar 2024-12-09 23:06:03 +03:00
parent 62e1e8f338
commit 9dfb6a52c3

View File

@ -15,7 +15,7 @@ trait CreateParams
{ {
$paramsString = ""; $paramsString = "";
foreach($data as $key => $param){ foreach($data as $key => $param){
if(is_string($param)){ if(is_string($param) || is_numeric($param)){
$paramsString .= $key . "='" . $param . "'"; $paramsString .= $key . "='" . $param . "'";
} }
} }