-
Notifications
You must be signed in to change notification settings - Fork 715
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
{$smarty.capture.$somevar} no longer works #478
Comments
ymTm7KuhCnIjkZAl2x2m2
pushed a commit
to ymTm7KuhCnIjkZAl2x2m2/smarty
that referenced
this issue
Aug 24, 2018
Please note that the Smarty special variables like $smarty.foo .... are no real variables and are not necessarily implemented as array. It is not specified that variable capture names can be used like Access to variable capture blocks could be achieved by {capture assign='bar'}
buh
{/capture}
....
{$foo} // with $foo = 'bar' Anyway I did add the variable capture name now as a feature |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code and output should display the issue.
Template:
Output:
The text was updated successfully, but these errors were encountered: