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