From: erickson Date: Fri, 6 Mar 2009 20:44:16 +0000 (+0000) Subject: copy_price expects an editor, pass one in X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ec1b746875ec6000e6a20a8a332db2e7ce1b1112;p=evergreen%2Fbjwebb.git copy_price expects an editor, pass one in git-svn-id: svn://svn.open-ils.org/ILS/trunk@12452 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Reactor.pm b/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Reactor.pm index f0adce8e9..7bacf7827 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Reactor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Reactor.pm @@ -6,6 +6,7 @@ use DateTime::Format::ISO8601; use OpenSRF::Utils qw/:datetime/; use OpenSRF::Utils::Logger qw(:logger); use OpenILS::Application::AppUtils; +use OpenILS::Utils::CStoreEditor qw/:funcs/; my $U = 'OpenILS::Application::AppUtils'; sub fourty_two { return 42 } @@ -51,7 +52,7 @@ my $_TT_helpers = { # returns the calculated copy price get_copy_price => sub { my $copy_id = shift; - return $U->get_copy_price($copy_id); + return $U->get_copy_price(new_editor(), $copy_id); }, # returns the org unit setting value