LP#1650807 - Bug in rollover_phone_to_print.pl keeps failed call files from user/stompro/lp1650807_rollover_phone
authorJosh Stompro <stomproj@larl.org>
Wed, 21 Dec 2016 19:57:32 +0000 (13:57 -0600)
committerJosh Stompro <stomproj@larl.org>
Wed, 21 Dec 2016 19:57:32 +0000 (13:57 -0600)
being moved.

The list of new event ID's that the script created was being sent to the
mediator, which couldn't do anything with them.  The original event id's need
to be sent to have those call files moved.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Open-ILS/src/support-scripts/rollover_phone_to_print.pl

index 6956283..c5da523 100755 (executable)
@@ -74,7 +74,7 @@ sub rollover_events_phone_to_print {
             $event->target
         )) {
             $logger->info("rollover created event $new_id from event " . $event->id);
-            push @$finished, $new_id;
+            push @$finished, $event->id;
         }
     }