[open-ils-commits] r14347 - trunk/Open-ILS/src/perlmods/OpenILS/Application (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Oct 12 01:07:54 EDT 2009
Author: erickson
Date: 2009-10-12 01:07:51 -0400 (Mon, 12 Oct 2009)
New Revision: 14347
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Penalty.pm
Log:
capture the context org parameter for penalty generation.
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Penalty.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Penalty.pm 2009-10-12 05:07:36 UTC (rev 14346)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Penalty.pm 2009-10-12 05:07:51 UTC (rev 14347)
@@ -31,8 +31,8 @@
my( $self, $conn, $args ) = @_;
$conn->respond_complete(1) if $$args{background};
my $e = new_editor(xact => 1);
- OpenILS::Utils::Penalty->calculate_penalties($e, $args->{patronid});
- my $p = OpenILS::Utils::Penalty->retrieve_penalties($e, $args->{patronid});
+ OpenILS::Utils::Penalty->calculate_penalties($e, $args->{patronid}, $args->{context_org});
+ my $p = OpenILS::Utils::Penalty->retrieve_penalties($e, $args->{patronid}, $args->{context_org});
$e->commit;
return $p
}
More information about the open-ils-commits
mailing list