Skip to content

[BUG] Smarty 5 error with compiled template. #1109

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

Open
patrykpapior-fingoweb opened this issue Mar 4, 2025 · 0 comments
Open

[BUG] Smarty 5 error with compiled template. #1109

patrykpapior-fingoweb opened this issue Mar 4, 2025 · 0 comments

Comments

@patrykpapior-fingoweb
Copy link

patrykpapior-fingoweb commented Mar 4, 2025

When we create simple document with condition like this:
{if !empty($test.test=="1")}test{/if}

In smarty version 4.5.4 template is compiled to this(which works):

Image

However in smarty version 5.4.3 template is compiled to this:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant