diff options
author | Soufiane Ghzal <[email protected]> | 2014-06-07 20:58:23 +0200 |
---|---|---|
committer | Soufiane Ghzal <[email protected]> | 2014-06-07 20:58:23 +0200 |
commit | ca8cacde0609c05078de54a288f5bc76887f8834 (patch) | |
tree | a147ba8fd13ac727d9faa1fbc316391390dc3b34 /idiorm.php | |
parent | f8f46c084cfbff704dd39f6d89de5308a3d30b0d (diff) |
Update idiorm.php
Diffstat (limited to 'idiorm.php')
-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(); |