From: erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Fri, 8 Jan 2010 14:20:45 +0000 (+0000) Subject: A/T penalty.* hooks now have a core_type of 'ausp', not 'au'. pass the ausp (user... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=701ba40f7d3e08e28e1c9c59b9fb6bec68bced1e;p=evergreen%2Fpines.git A/T penalty.* hooks now have a core_type of 'ausp', not 'au'. pass the ausp (user penalty) object during event autocreate instead of the user git-svn-id: svn://svn.open-ils.org/ILS/trunk@15278 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Utils/Penalty.pm b/Open-ILS/src/perlmods/OpenILS/Utils/Penalty.pm index 098444c4f8..4edc51cfbb 100644 --- a/Open-ILS/src/perlmods/OpenILS/Utils/Penalty.pm +++ b/Open-ILS/src/perlmods/OpenILS/Utils/Penalty.pm @@ -54,7 +54,7 @@ sub calculate_penalties { $ses->request( 'open-ils.trigger.event.autocreate', 'penalty.' . $csp_obj->name, - $user, + $pen, $pen->org_unit ); }