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
Version: v2.6.x-dev 66f66d5
After upgrading from 2.5.0, rendering this syntax in latte template {!$blank ? ($renterRow->personal_id_number ?: $renterRow->passport_number)}
{!$blank ? ($renterRow->personal_id_number ?: $renterRow->passport_number)}
results in error
Exception in Nette\Bridges\ApplicationLatte\Template::__toString(): syntax error, unexpected ')' in
Rendered template <?php echo LR\Filters::escapeHtmlText(!$blank ? ($renterRow->personal_id_number ?: $renterRow->passport_number)) /* line 55 */ ?>
<?php echo LR\Filters::escapeHtmlText(!$blank ? ($renterRow->personal_id_number ?: $renterRow->passport_number)) /* line 55 */ ?>
It worked in 2.5.x.
The text was updated successfully, but these errors were encountered:
4409992
PhpWriter: fixed invalid code for ternary [Closes #210]
8e1ae5f
No branches or pull requests
Version: v2.6.x-dev 66f66d5
After upgrading from 2.5.0, rendering this syntax in latte template
{!$blank ? ($renterRow->personal_id_number ?: $renterRow->passport_number)}
results in error
Exception in Nette\Bridges\ApplicationLatte\Template::__toString(): syntax error, unexpected ')' in
Rendered template
<?php echo LR\Filters::escapeHtmlText(!$blank ? ($renterRow->personal_id_number ?: $renterRow->passport_number)) /* line 55 */ ?>
It worked in 2.5.x.
The text was updated successfully, but these errors were encountered: