and ... we need the content
authorMike Rylander <mrylander@gmail.com>
Mon, 17 Oct 2011 17:00:49 +0000 (13:00 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 9 Feb 2012 19:59:15 +0000 (14:59 -0500)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/support-scripts/hold_targeter.pl

index bc1eb69..137e2ca 100755 (executable)
@@ -58,7 +58,7 @@ if ($parallel == 1) {
     my $storage = OpenSRF::AppSession->create("open-ils.storage");
 
     my $r = $storage->request('open-ils.storage.action.hold_request.targetable_holds.id_list', '24h');
-    while ( my $h = $r->recv ) {
+    while ( my $h = $r->recv->content ) {
         $multi_targeter->request( 'open-ils.storage.action.hold_request.copy_targeter', '', $h->[0], $h->[1]);
     }