From 1b227c25022316a14bd67ae5c44e9d9c4b2e419d Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Mon, 17 Oct 2011 13:00:49 -0400 Subject: [PATCH] and ... we need the content Signed-off-by: Mike Rylander --- Open-ILS/src/support-scripts/hold_targeter.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/support-scripts/hold_targeter.pl b/Open-ILS/src/support-scripts/hold_targeter.pl index bc1eb69cbe..137e2ca40a 100755 --- a/Open-ILS/src/support-scripts/hold_targeter.pl +++ b/Open-ILS/src/support-scripts/hold_targeter.pl @@ -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]); } -- 2.11.0