From d5904a083516aec191a8199bb94fbf265bf3da3d Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Tue, 9 Jun 2009 18:35:24 -0400 Subject: [PATCH] Bug 2889: Removed toggle variable from aqbookfund.pl and aqbookfund.tmpl. Removed toggle variable from aqbookfund.pl and aqbookfund.tmpl. Used template __odd__ variable in aqbookfund.tmpl. Signed-off-by: Galen Charlton --- admin/aqbookfund.pl | 2 -- koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbookfund.tmpl | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/admin/aqbookfund.pl b/admin/aqbookfund.pl index d5673c8c36..952e068ddc 100755 --- a/admin/aqbookfund.pl +++ b/admin/aqbookfund.pl @@ -268,13 +268,11 @@ else { # DEFAULT scalar(@results) - 1, ); - my $toggle = 0; foreach my $result (@results[$first .. $last]) { push( @loop, { %{$result}, - toggle => $toggle++%2, branchname => $branches->{ $result->{branchcode} }->{branchname}, has_budgets => defined $nb_budgets_of{ $result->{bookfundid} }, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbookfund.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbookfund.tmpl index 9581f71549..3403c690ca 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbookfund.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbookfund.tmpl @@ -108,11 +108,11 @@ - + - + -- 2.39.5