From 78a3097b26fb82171d9d602778aa4096a6322210 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 3 Aug 2016 16:13:18 -0400 Subject: [PATCH] fix the MultiSession success handlers Signed-off-by: Galen Charlton --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircNotify.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircNotify.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircNotify.pm index ea7221711b..72658327ea 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircNotify.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircNotify.pm @@ -62,11 +62,11 @@ sub circ_batch_notify { my $self = shift; my $req = shift; - my $event = $req->gather(1); - next unless $event; + my $event = $req->{response}->[0]->content; + return unless $event; $event = $e->retrieve_action_trigger_event($event); - next unless $event; + return unless $event; $events{$event->event_def} ||= []; push @{$events{$event->event_def}}, $event->id; }, @@ -92,7 +92,7 @@ sub circ_batch_notify { success_handler => sub { my $self = shift; my $req = shift; - $client->respond( $req->gather(1) ); + $client->respond( $req->{response}->[0]->content ); }, ); -- 2.11.0