Compare commits

...

2 Commits

Author SHA1 Message Date
53e5fadfc1 Merge branch 'master' of https://git.itguild.info/ItGuild/forms_bundle 2024-12-09 23:06:48 +03:00
9dfb6a52c3 fix text input 2024-12-09 23:06:03 +03:00

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