Replies: 2 comments 1 reply
-
|
You can do like this: {ifset $aaa}
{foreach $aaa as $v}
xxxxx
{/foreach}
{/ifset}
{$test ?? ''} |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Try {foreach $aaa ?? [] as $v} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I sometimes have a template that can not have some variables. In my current implementation, I can't do it but I see that the fiddle already does it, for example. How can I handle it?
Beta Was this translation helpful? Give feedback.
All reactions