-
-
Notifications
You must be signed in to change notification settings - Fork 111
"AND" keyword in "if" macro #172
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
Comments
They are supported only in lowercase. |
dg
added a commit
that referenced
this issue
Nov 11, 2020
dg
added a commit
that referenced
this issue
Nov 12, 2020
dg
added a commit
that referenced
this issue
Nov 12, 2020
dg
added a commit
that referenced
this issue
Nov 12, 2020
dg
added a commit
that referenced
this issue
Nov 12, 2020
dg
added a commit
that referenced
this issue
Nov 12, 2020
dg
added a commit
that referenced
this issue
Nov 14, 2020
dg
added a commit
that referenced
this issue
Nov 14, 2020
dg
added a commit
that referenced
this issue
Nov 14, 2020
dg
added a commit
that referenced
this issue
Nov 14, 2020
dg
added a commit
that referenced
this issue
Nov 14, 2020
dg
added a commit
that referenced
this issue
Nov 15, 2020
dg
added a commit
that referenced
this issue
Nov 15, 2020
dg
added a commit
that referenced
this issue
Nov 15, 2020
dg
added a commit
that referenced
this issue
Nov 15, 2020
dg
added a commit
that referenced
this issue
Nov 15, 2020
dg
added a commit
that referenced
this issue
Nov 15, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Hello,
I'm migrating one old project from Nette 2.2-dev to 2.4 and i've realized that new latte doesn't support "AND" keyword in if condition. I can't find any reason why it was removed. Documentation says "Conditions behave exactly the same way as their PHP counterparts". Modify all templates to use "&&" was pain and in my opinion "AND" is more readable. Is it bug, or just change which isn't noted in documentation? It's inconsistent, because keyword "OR" is in IF allowed.
Steps To Reproduce
Latte: {if $a AND $b}...{/if}
The text was updated successfully, but these errors were encountered: