Skip to content
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

OR and function call in if macro is considered as modifier #100

Closed
hrach opened this issue Feb 7, 2016 · 1 comment
Closed

OR and function call in if macro is considered as modifier #100

hrach opened this issue Feb 7, 2016 · 1 comment

Comments

@hrach
Copy link
Contributor

@hrach hrach commented Feb 7, 2016

{if true||isset($var)}
foo
{/if}

throws User Warning: Modifiers are not allowed in {if}.

This is valid php code and should be considered as ok.

@dg

This comment has been minimized.

Copy link
Member

@dg dg commented Feb 7, 2016

These warnings have proved to be very useful, without them this error may stay undiscovered.

@dg dg closed this in a1b7c7c Feb 7, 2016
dg added a commit that referenced this issue Feb 7, 2016
dg added a commit that referenced this issue Feb 7, 2016
dg added a commit that referenced this issue Feb 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.