mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-13 18:48:40 +00:00
Also handle floats
This commit is contained in:
parent
bbe7a78108
commit
bcde94b1ea
|
|
@ -1062,7 +1062,7 @@ class Builder extends BuilderAbstract
|
|||
{
|
||||
if(is_int($value)) {
|
||||
return PDO::PARAM_INT;
|
||||
} elseif(is_string($value)) {
|
||||
} elseif(is_string($value) || is_float($value)) {
|
||||
return PDO::PARAM_STR;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user