DDC-1977: Undefined index in ParameterTypeInferer #2650

Closed
doctrinebot opened this Issue Aug 10, 2012 · 3 comments

1 participant

@doctrinebot

Jira issue originally created by user matt-button:

Trying to bind an empty array as a parameter to a raw SQL query results in an undefined index error on line 59.

https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Query/ParameterTypeInferer.php#L59

@doctrinebot

Comment created by matt-button:

One way to work around this is to specify the type of the array as the third parameter to addParameter

@doctrinebot

Comment created by @FabioBatSilva:

Fixed by : ece6a00

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.3 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment