Skip to content

Connection quote() ignores returned value from getBindingInfo()#124

Merged
guilhermeblanco merged 1 commit into
doctrine:masterfrom
aspendigital:master
Mar 29, 2012
Merged

Connection quote() ignores returned value from getBindingInfo()#124
guilhermeblanco merged 1 commit into
doctrine:masterfrom
aspendigital:master

Conversation

@jimcottrell

Copy link
Copy Markdown
Contributor

Maybe I'm missing something here, but this simple change seems to be necessary to allow for proper type management in quote(). For example, without this change passing a DateTime object as $input with $type = 'date' will resolve the proper string value in getBindingInfo, but then still attempt to pass the DateTime to PDO, which of course doesn't work.

guilhermeblanco added a commit that referenced this pull request Mar 29, 2012
Connection quote() ignores returned value from getBindingInfo()
@guilhermeblanco guilhermeblanco merged commit 930d786 into doctrine:master Mar 29, 2012
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants