diff options
Diffstat (limited to 'idiorm.php')
-rw-r--r-- | idiorm.php | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -416,10 +416,7 @@ $type = PDO::PARAM_STR; if (is_null($parameters[$i])) $type = PDO::PARAM_NULL; if (is_bool($parameters[$i])) $type = PDO::PARAM_BOOL; - if (is_int($parameters[$i])) { - $type = PDO::PARAM_INT; - $parameters[$i] = +($parameters[$i]); - } + if (is_int($parameters[$i])) $type = PDO::PARAM_INT; $statement->bindParams($i + 1, $parameters[$i], $type); } |