Closed GoogleCodeExporter closed 9 years ago
I have to temporarily use this solution... {if $answer@index ==
$answer@total}Last{/if}
Original comment by rickinhe...@gmail.com
on 27 Mar 2014 at 11:33
NOTE: it's important to use an object (stdClass) instead of an array.
Original comment by rickinhe...@gmail.com
on 27 Mar 2014 at 11:35
Please note that Smarty template syntax is not 100% PHP.
The Smarty foreach properties like @total and @last do work on arrays and
countables but not general objects.
Original comment by Uwe.Tews@googlemail.com
on 28 Mar 2014 at 1:47
Original issue reported on code.google.com by
rickinhe...@gmail.com
on 27 Mar 2014 at 11:32