From 9dfb6a52c3f729b5b605f2afb5a9983ea898d4ee Mon Sep 17 00:00:00 2001 From: Kavalar Date: Mon, 9 Dec 2024 23:06:03 +0300 Subject: [PATCH] fix text input --- src/traits/CreateParams.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/traits/CreateParams.php b/src/traits/CreateParams.php index e19cb0e..7cf6aa6 100755 --- a/src/traits/CreateParams.php +++ b/src/traits/CreateParams.php @@ -15,7 +15,7 @@ trait CreateParams { $paramsString = ""; foreach($data as $key => $param){ - if(is_string($param)){ + if(is_string($param) || is_numeric($param)){ $paramsString .= $key . "='" . $param . "'"; } }