fix two broken calls to _FixPriority
authorGalen Charlton <gmcharlt@gmail.com>
Tue, 23 Feb 2010 20:09:46 +0000 (15:09 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Thu, 24 Jun 2010 11:55:39 +0000 (07:55 -0400)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Reserves.pm

index 35a45b4..bcb27bb 100644 (file)
@@ -1006,7 +1006,7 @@ sub CancelReserve {
         $sth->execute( $biblio, $borr );
 
         # now fix the priority on the others....
-        _FixPriority( $priority, $biblio );
+        _FixPriority( $biblio, $borr );
     }
 }
 
@@ -1152,7 +1152,7 @@ sub ModReserveFill {
     # now fix the priority on the others (if the priority wasn't
     # already sorted!)....
     unless ( $priority == 0 ) {
-        _FixPriority( $priority, $biblionumber );
+        _FixPriority( $biblionumber, $borrowernumber );
     }
 }