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
Example template data:
$data = [ 'rows' => [[], ['children' => ['bug appears here']], []] ];
Example template file:
{foreach $rows as $row} {$row@index}, {if !empty($row.children)} {foreach $row.children as $children} {* anything *} {/foreach} {/if} {/foreach}
Output: 0, 1, 1,
0, 1, 1,
Should be: 0, 1, 2,
0, 1, 2,
The text was updated successfully, but these errors were encountered:
- bugfix in nested {foreach} saved item attributes got overwritten #33
07c781d
This is now fixed in dev-master
Sorry, something went wrong.
- bugfix {php}{/php} did work just for single lines #33
a74804b
Merge pull request smarty-php#33 from think-ahead/ticket-#5167-remove…
9e086ab
…-the-facilityenabled-flag Ticket #5167 remove the facilityenabled flag
No branches or pull requests
Example template data:
Example template file:
Output:
0, 1, 1,
Should be:
0, 1, 2,
The text was updated successfully, but these errors were encountered: