Skip to content

Instantly share code, notes, and snippets.

@sminnee
Created October 19, 2018 04:04
Show Gist options
  • Select an option

  • Save sminnee/b489b2b0401cf36821b7127e1d48538c to your computer and use it in GitHub Desktop.

Select an option

Save sminnee/b489b2b0401cf36821b7127e1d48538c to your computer and use it in GitHub Desktop.
diff --git a/src/ORM/Connect/PDOConnector.php b/src/ORM/Connect/PDOConnector.php
index f3fbae1..27ff7b8 100644
--- a/src/ORM/Connect/PDOConnector.php
+++ b/src/ORM/Connect/PDOConnector.php
@@ -356,7 +356,7 @@ class PDOConnector extends DBConnector
// Bind and invoke statement safely
if ($statement) {
$this->bindParameters($statement, $parameters);
- $statement->execute($parameters);
+ $statement->execute();
}
// Generate results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment