Tuesday 08 August 2006 8:19:16 am
Hi,
I have the following problem: If i add this code to one template included from another template:
things....
{set $counter=0}
{do}
{set $counter=inc( $counter )}
many things...
{/do while ne( $counter, $auxactualnode.depth|abs )}
The code works prefectly But if i include two or more templates from the same template with this code in it breaks. Drops timeout after 180 seconds of 100 mysql load. This happends in 3.7 and 3.8. But if i replace the do loop with a foreach
things...
{foreach $auxactualnode as $xxx}
many things...
{/foreach}
Then everything works perfectly. Is this a bug in the do function?
Thanks Luis
|