From: erickson Date: Tue, 3 Mar 2009 21:49:34 +0000 (+0000) Subject: return the atev objects, not the trigger::event objects which, incidentally, send... X-Git-Tag: sprint4-merge-nov22~10635 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5f0fc0ac51cdb2fc767a9633fee2741b59535d6b;p=working%2FEvergreen.git return the atev objects, not the trigger::event objects which, incidentally, send perl2json into a mem-gobble tailspin, presumably from cicular refs git-svn-id: svn://svn.open-ils.org/ILS/trunk@12388 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm b/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm index c3be021dd2..ffcf4ab42a 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm @@ -133,7 +133,7 @@ sub fire_event_group { valid => $e->valid, reacted => $e->reacted, cleanedup => $e->cleanedup, - events => $e->events + events => [map { $_->event } @{$e->events}] }; } __PACKAGE__->register_method(