diff options
author | Stefan Andres Charsley <[email protected]> | 2014-05-29 22:47:14 +1200 |
---|---|---|
committer | Stefan Andres Charsley <[email protected]> | 2014-05-29 22:47:14 +1200 |
commit | 93e050c209898f64e84112b3fffe77d100149b2e (patch) | |
tree | c1e28e128d50b31347f51dfe967c8d707da4478c | |
parent | 41dd2cc40eb1e8d81ebb99eef98131a3a2c58661 (diff) |
Removed useless code.
-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); } |