This commit is contained in:
Билай Станислав 2024-12-10 12:28:33 +03:00
commit 46564f9450

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 . "'";
} }
} }