Browse Source

fixed redefined itemtype_count variable .

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
3.0.x
Ryan Higgins 17 years ago
committed by Joshua Ferraro
parent
commit
d6eea9c622
  1. 6
      circ/circulation.pl

6
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

Loading…
Cancel
Save