summaryrefslogtreecommitdiff
path: root/idiorm.php
diff options
context:
space:
mode:
authorStefan Andres Charsley <[email protected]>2014-05-29 22:47:14 +1200
committerStefan Andres Charsley <[email protected]>2014-05-29 22:47:14 +1200
commit93e050c209898f64e84112b3fffe77d100149b2e (patch)
treec1e28e128d50b31347f51dfe967c8d707da4478c /idiorm.php
parent41dd2cc40eb1e8d81ebb99eef98131a3a2c58661 (diff)
Removed useless code.
Diffstat (limited to 'idiorm.php')
-rw-r--r--idiorm.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/idiorm.php b/idiorm.php
index ef07d0b..ae80abe 100644
--- a/idiorm.php
+++ b/idiorm.php
@@ -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);
}