From: erickson Date: Wed, 25 Feb 2009 02:46:01 +0000 (+0000) Subject: cstoreeditor create_ returns the ident (~id) (not the object) and sets the ident... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e8a887139680193bf3810f9d7ea2c32202c44892;p=evergreen%2Ftadl.git cstoreeditor create_ returns the ident (~id) (not the object) and sets the ident on the passed in object. no need to capture the output except to test for success git-svn-id: svn://svn.open-ils.org/ILS/trunk@12290 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 f9d4b3a54d..952725b2cc 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm @@ -74,7 +74,7 @@ sub create_events_for_object { $event->event_def( $def->id ); $event->run_time( $date->strftime( '%G %T%z' ) ); - $event = $editor->create_action_trigger_event( $event ); + $editor->create_action_trigger_event( $event ); $client->respond( $event->id ); }