-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[BUG] Volt: access to object property which is in array #1577
Labels
Comments
Any fixes for this? |
It has been almost a year now, is it fixed? |
Is it fixed? |
I don't know if this is fixed, but you can workaround this with following code:
Doesn't hurt much. |
It's not fixed, actually. |
Fixed in Phalcon 2.0.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have an array of objects
The following construction doesn't works in volt:
{{ arr[0].key }}
It generates PHP code
Parse error: syntax error, unexpected '->'
* UPD issue description
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: