Compare commits
2 Commits
45e57367d3
...
53e5fadfc1
Author | SHA1 | Date | |
---|---|---|---|
53e5fadfc1 | |||
9dfb6a52c3 |
@ -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 . "'";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user