summaryrefslogtreecommitdiff
path: root/idiorm.php
diff options
context:
space:
mode:
authorSoufiane Ghzal <[email protected]>2014-06-07 20:58:23 +0200
committerSoufiane Ghzal <[email protected]>2014-06-07 20:58:23 +0200
commitca8cacde0609c05078de54a288f5bc76887f8834 (patch)
treea147ba8fd13ac727d9faa1fbc316391390dc3b34 /idiorm.php
parentf8f46c084cfbff704dd39f6d89de5308a3d30b0d (diff)
Update idiorm.php
Diffstat (limited to 'idiorm.php')
-rw-r--r--idiorm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/idiorm.php b/idiorm.php
index ae80abe..a251ed7 100644
--- a/idiorm.php
+++ b/idiorm.php
@@ -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();