From 1a5963a30a0cce4eaff0b6c813125a680916a347 Mon Sep 17 00:00:00 2001 From: tipaul Date: Fri, 28 May 2004 16:14:40 +0000 Subject: [PATCH] minor fixes (odd/even lines bug) --- C4/SearchMarc.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/SearchMarc.pm b/C4/SearchMarc.pm index 9200a1fe06..187c89cc26 100644 --- a/C4/SearchMarc.pm +++ b/C4/SearchMarc.pm @@ -244,8 +244,8 @@ sub catalogsearch { $newline{biblionumber} = $oldbiblionumber; my @CNresults2= @CNresults; $newline{CN} = \@CNresults2; - $newline{'even'} = 1 if $counter % 2 == 0; - $newline{'odd'} = 1 if $counter % 2 == 1; + $newline{'even'} = 1 if $#finalresult % 2 == 0; + $newline{'odd'} = 1 if $#finalresult % 2 == 1; @CNresults = (); push @finalresult, \%newline; $totalitems=0; -- 2.39.5