Skip to content

Commit

Permalink
Removed useless code.
Browse files Browse the repository at this point in the history
  • Loading branch information
charsleysa committed May 29, 2014
1 parent 41dd2cc commit 93e050c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions idiorm.php
Original file line number Diff line number Diff line change
Expand Up @@ -416,10 +416,7 @@ protected static function _execute($query, $parameters = array(), $connection_na
$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);
}

Expand Down

0 comments on commit 93e050c

Please sign in to comment.