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

This sequence doesn't work on last dev 3.1.32-dev (v22), but working on dev 3.1.32-dev (v1) #389

Closed
yourchoice opened this issue Sep 26, 2017 · 1 comment

Comments

@yourchoice
Copy link

yourchoice commented Sep 26, 2017

This sequence doesn't work on last dev 3.1.32-dev (v22), but working on dev 3.1.32-dev (v1)

{{'recipe_status_'|cat:$form_act.recipe_status}|get_trans}

Result on last dev "3.1.32-dev-22" is

{{'recipe_status_'|cat:$form_act.recipe_status}|get_trans}

instead call of function get_trans().

uwetews added a commit that referenced this issue Oct 7, 2017
  - bugfix modification of 9.8.2017 did fail on some recursive
    tag nesting. #389
@uwetews
Copy link
Contributor

uwetews commented Oct 7, 2017

This issue is now solved.

However you have used some recursive Smarty tag call.
This does create ugly and code with bad performance.

{('recipe_status_'|cat:$form_act.recipe_status)|get_trans}

Use ( ) in the inner

@uwetews uwetews closed this as completed Oct 7, 2017
uwetews added a commit that referenced this issue Oct 7, 2017
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

2 participants