[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. f0ab78a1705e7ebdde50628514fe50dd413b591a

Evergreen Git git at git.evergreen-ils.org
Mon Aug 22 13:25:20 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_0 has been updated
       via  f0ab78a1705e7ebdde50628514fe50dd413b591a (commit)
      from  3dc42dd9be52946f67313ef789742414be7255cc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f0ab78a1705e7ebdde50628514fe50dd413b591a
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Fri Aug 19 18:22:28 2011 -0400

    Fix penalty generation during billing creation
    
    by passing the editor object referencing the database transaction to xact_org
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Money.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Money.pm
index 9d08670..8a001b0 100644
--- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Money.pm
+++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Money.pm
@@ -689,7 +689,7 @@ sub billing_items_create {
     $billing->amount($amt);
 
     $e->create_money_billing($billing) or return $e->die_event;
-    my $evt = OpenILS::Utils::Penalty->calculate_penalties($e, $xact->usr, $U->xact_org($xact->id));
+    my $evt = OpenILS::Utils::Penalty->calculate_penalties($e, $xact->usr, $U->xact_org($xact->id,$e));
     return $evt if $evt;
     $e->commit;
 

-----------------------------------------------------------------------

Summary of changes:
 .../src/perlmods/OpenILS/Application/Circ/Money.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list