LP1009752: activate purchase orders with patron requests
authorJames Fournie <jfournie@sitka.bclibraries.ca>
Wed, 6 Jun 2012 21:47:30 +0000 (14:47 -0700)
committerDan Scott <dan@coffeecode.net>
Thu, 7 Jun 2012 04:40:25 +0000 (00:40 -0400)
Simple typo: "actor_hold_request" should be "action_hold_request".

Signed-off-by: Dan Scott <dan@coffeecode.net>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm

index 9e25668..ec94c04 100644 (file)
@@ -274,7 +274,7 @@ sub promote_lineitem_holds {
             $hold->target( $li->eg_bib_id );
         }
 
-        $mgr->editor->create_actor_hold_request( $hold ) or return 0;
+        $mgr->editor->create_action_hold_request( $hold ) or return 0;
     }
 
     return $li;