From 6934fbebe413aeb3f7209786a2aa444708211758 Mon Sep 17 00:00:00 2001
From: miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Mon, 12 Oct 2009 05:10:04 +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/trunk@14353 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 0d28e6a6f4..b95a52806b 100644
--- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
+++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
@@ -775,7 +775,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