From cf67d8bb8fe87070e4707346eca936af1a483d03 Mon Sep 17 00:00:00 2001 From: rangi Date: Wed, 21 Jan 2004 20:49:54 +0000 Subject: [PATCH] Bug 605 fixed --- circ/circulation.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index 8cacd7fa45..e75e75716e 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -382,7 +382,7 @@ sub patrontable { my $color=''; foreach $flag (sort keys %$flags) { warn $flag; - my @itemswaiting=''; +# my @itemswaiting=''; ($color eq $linecolor1) ? ($color=$linecolor2) : ($color=$linecolor1); $flags->{$flag}->{'message'}=~s/\n/
/g; if ($flags->{$flag}->{'noissues'}) { @@ -405,6 +405,7 @@ sub patrontable { } if ($flag eq 'WAITING') { my $items=$flags->{$flag}->{'itemlist'}; + my @itemswaiting; foreach my $item (@$items) { my ($iteminformation) = getiteminformation(\%env, $item->{'itemnumber'}, 0); $iteminformation->{'branchname'} = $branches->{$iteminformation->{'holdingbranch'}}->{'branchname'}; @@ -426,6 +427,7 @@ sub patrontable { my $currentcolor=$color; { my $color=$currentcolor; + my @itemswaiting; foreach my $item (@$items) { ($color eq $linecolor1) ? ($color=$linecolor2) : ($color=$linecolor1); my ($iteminformation) = getiteminformation(\%env, $item->{'itemnumber'}, 0); -- 2.39.5