We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example:
{if isset($abc.sub) and $abc.sub and isset($def) and $def and !isset($bla)} {/if}
In 3.1.21 is template compiled without any problems
if (isset($_smarty_tpl->tpl_vars['abc']->value['sub'])&&$_smarty_tpl->tp...
In 3.1.24 looks like something breaks the compiling - && is missing:
if (isset($_smarty_tpl->tpl_vars['abc']->value['sub'])$_smarty_tpl->tpl_va....
Working examples on 3.1.21 and 3.1.24
{if isset($abc.sub) and $abc.sub and isset($def) and $def and !isset($bla)}{/if}
It also works if 'and' is replaced with &&
{if isset($abc.sub) && $abc.sub && isset($def) && $def and !isset($bla)} {/if}
The text was updated successfully, but these errors were encountered:
The lexer did not handle line breaks on the word logical operators like 'and' etc. it does work with the symbolic ones like '&&'.
The fix is already the the dev-master version.
We will soon release 3.1.25 as a maintenance release.
Sorry, something went wrong.
Merge pull request smarty-php#48 from think-ahead/ticket-#5298-old-we…
8936755
…b-reservation-to-redirect-to-the-top-screen-of-the-new-web-reservation Redmine-#5298:旧WEB予約 新WEB予約のTOP画面へリダイレクトさせたい
No branches or pull requests
Example:
In 3.1.21 is template compiled without any problems
In 3.1.24 looks like something breaks the compiling - && is missing:
Working examples on 3.1.21 and 3.1.24
It also works if 'and' is replaced with &&
The text was updated successfully, but these errors were encountered: