oops, meant to check pickup-lib, not requesting lib.
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Jul 2009 20:04:09 +0000 (20:04 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Jul 2009 20:04:09 +0000 (20:04 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13515 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 76c37e2..f5f4edf 100644 (file)
@@ -1495,7 +1495,7 @@ sub verify_copy_for_hold {
     return (
         $permitted,
         (
-               ($copy->circ_lib == $request_lib) and 
+               ($copy->circ_lib == $pickup_lib) and 
             ($copy->status == OILS_COPY_STATUS_AVAILABLE)
         )
     );