Skip to content

Loading…

DDC-1977: Undefined index in ParameterTypeInferer #2650

Closed
doctrinebot opened this Issue · 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
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.