From d6eea9c62277befbdecf6effe2b09ef4cbc906a7 Mon Sep 17 00:00:00 2001 From: Ryan Higgins Date: Sun, 4 Nov 2007 16:24:09 -0600 Subject: [PATCH] fixed redefined itemtype_count variable . Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- circ/circulation.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index a066774f2c..39f9c18035 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -447,7 +447,7 @@ FROM issuingrules LEFT JOIN itemtypes ON (itemtypes.itemtype=issuingrules.itemtype) WHERE categorycode=? " ); -#my @issued_itemtypes_count; # huh? +my @issued_itemtypes_count_loop; # huh? $issueqty_sth->execute("*"); while ( my $data = $issueqty_sth->fetchrow_hashref() ) { @@ -464,10 +464,10 @@ while ( my $data = $issueqty_sth->fetchrow_hashref() ) { || ( $data->{'itemtype'} eq "*" ) || ( $data->{'itemtype'} eq "CIRC" ) ) { - push @issued_itemtypes_count, $data; + push @issued_itemtypes_count_loop, $data; } } -$issued_itemtypes_loop = \@issued_itemtypes_count; +$issued_itemtypes_loop = \@issued_itemtypes_count_loop; #### / JF -- 2.39.5