On 2005-10-12, Ron Savage <suppressed> wrote:
>
> While trying and failing to get
><tmpl_if name=__first__>
> working on loops and simultaneously on loops within loops (loop_context_vars =>
> 1) (Any ideas?), I found this.
>
> Lines 2965 .. 2967 of Template.pm are:
> @{$value_set}{qw(__first__ __last__ __inner__ __odd__ __counter__)} =
> (0,0,0,0)
> if ($loop_context_vars);
>
> There are 5 tokens in that array slice, but only 4 zeros. Wrong or intended, do
> you think? I think it's a bug.
So write an automated test that fails because of this bug, and then we
can all be sure. If it exists, it would affect "__counter__" not "__first_".
Mark
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.