diff options
-rw-r--r-- | idiorm.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -417,7 +417,7 @@ 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; - $statement->bindParams($i + 1, $parameters[$i], $type); + $statement->bindParam($i + 1, $parameters[$i], $type); } $q = $statement->execute(); |