forward-porting r14346: pass the patron id (instead of the object) and the appropriat...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 12 Oct 2009 05:10:04 +0000 (05:10 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 12 Oct 2009 05:10:04 +0000 (05:10 +0000)
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

index 0d28e6a..b95a528 100644 (file)
@@ -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,
                                    }