[DBAL-245] [GH-124] Connection quote() ignores returned value from getBindingInfo() Created: 28/Mar/12 Updated: 30/Mar/12 Resolved: 30/Mar/12
|Reporter:||Benjamin Eberlei||Assignee:||Benjamin Eberlei|
This issue is created automatically through a Github pull request on behalf of jimcottrell:
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.
|Comment by Benjamin Eberlei [ 29/Mar/12 ]|
A related Github Pull-Request [GH-124] was closed
|Comment by Benjamin Eberlei [ 30/Mar/12 ]|
Fixed and merged