From 98152647fe6c8051ac767e0c2e8ce3191d0b32c7 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 20 Oct 2010 13:49:39 +0200 Subject: [PATCH] =?utf8?q?Schleifenz=C3=A4hler=20f=C3=BCr=20=5F=5Ffirst=5F?= =?utf8?q?=5F=20f=C3=A4ngt=20bei=200=20an,=20nicht=20bei=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Template/LaTeX.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Template/LaTeX.pm b/SL/Template/LaTeX.pm index c515187ce..8aac39dbb 100644 --- a/SL/Template/LaTeX.pm +++ b/SL/Template/LaTeX.pm @@ -55,7 +55,7 @@ sub parse_foreach { for (my $i = 0; $i < scalar(@{$ary}); $i++) { # do magic markers - $form->{"__first__"} = $i == 1; + $form->{"__first__"} = $i == 0; $form->{"__last__"} = ($i + 1) == scalar(@{$ary}); $form->{"__odd__"} = (($i + 1) % 2) == 1; $form->{"__counter__"} = $i + 1; -- 2.20.1