From d1ac46eb29d0c3e9f75edb15350f50f8c96d7ea9 Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 12 Oct 2009 05:08:53 +0000 Subject: [PATCH] forward-porting r14346: pass the patron id (instead of the object) and the appropriate context org to the penalty calculator git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@14351 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm index 84c01dbcd9..9ca50b52e3 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -776,7 +776,8 @@ sub generate_fines { $penalty->request( 'open-ils.penalty.patron_penalty.calculate', - { patron => $c->usr->to_fieldmapper, + { patronid => ''.$c->usr, + context_org => ''.$c->circ_lib, update => 1, background => 1, } -- 2.11.0