fixed a bug caused by the event transition
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 14 Dec 2005 22:33:42 +0000 (22:33 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 14 Dec 2005 22:33:42 +0000 (22:33 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2383 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Rules.pm

index 4c693c7..788a255 100644 (file)
@@ -990,7 +990,7 @@ sub checkin {
 
 
                # see if this copy can fulfill a hold
-               my $hold = OpenILS::Application::Circ::Holds::_find_local_hold_for_copy( $session, $copy, $user );
+               my ( $hold, $evt ) = OpenILS::Application::Circ::Holds::_find_local_hold_for_copy( $session, $copy, $user );
 
                $route_to = $shelving_locations->{$copy->location};