[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 490ce11f23f8d5d3d041752fdd6e431405e0cf7a
Evergreen Git
git at git.evergreen-ils.org
Mon Aug 22 13:25:03 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_1 has been updated
via 490ce11f23f8d5d3d041752fdd6e431405e0cf7a (commit)
from 712d0985a1d57a30082cd66e07c928784b268c81 (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 490ce11f23f8d5d3d041752fdd6e431405e0cf7a
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/lib/OpenILS/Application/Circ/Money.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm
index f8fdb80..1058e8c 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm
@@ -700,7 +700,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:
.../perlmods/lib/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