Skip to content

Instantly share code, notes, and snippets.

@doctrinebot
Created December 13, 2015 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doctrinebot/795011b7186bd236bcb0 to your computer and use it in GitHub Desktop.
Save doctrinebot/795011b7186bd236bcb0 to your computer and use it in GitHub Desktop.
Attachments to Doctrine Jira Issue DDC-55 - https://github.com/doctrine/doctrine2/issues/5056
Index: ORM/Query.php
===================================================================
--- ORM/Query.php (revision 6535)
+++ ORM/Query.php (working copy)
@@ -219,7 +219,7 @@
$sqlParams[$position] = $boolValue;
}
} else {
- foreach ($paramMappings[$key] as $position) {
+ foreach ($paramMappings[$key+1] as $position) {
$sqlParams[$position] = $value;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment