moving a misplaced * to fix a bug in issuingrules
authorPaul POULAIN <paul.poulain@biblibre.com>
Sun, 20 Jan 2008 06:58:52 +0000 (00:58 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Sun, 20 Jan 2008 16:17:57 +0000 (10:17 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Circulation.pm

index 166b1e9..6140794 100644 (file)
@@ -433,7 +433,7 @@ sub TooMany {
             return ( "$alreadyissued / ".( $result->{maxissueqty} + 0 )." (rule on branch/category/itemtype failed)" );
         }
         # now checking for total
-        $sth->execute( $cat_borrower, '', $branch );
+        $sth->execute( $cat_borrower, '*', $branch );
         my $result = $sth->fetchrow_hashref;
         if ( $result->{maxissueqty} ne '' ) {
             $sth2->execute( $borrower->{'borrowernumber'}, $type );