-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InWhere EOF exception #10676
Comments
"id" is not an expression that can be evaluated (it requires an operator) so it encounters the EOF which is unexpected for the parser, so a syntax error is thrown, totally make sense |
But it's not a syntax error.. Unexpected EOF has a completely different meaning. |
I'm sorry for up closed issue, but I have a question. cphalcon/phalcon/mvc/model/criteria.zep Line 448 in cf3c1fe
cphalcon/phalcon/mvc/model/query/builder.zep Line 752 in cf3c1fe
Phalcon 2.1.x |
@andrew-demb Could you please create separated issue with script to reproduce |
Fixed in the |
When
inWhere
is given an empty array, it crashes with the following exception:At the very least, the error could make more sense :)
The text was updated successfully, but these errors were encountered: