[open-ils-commits] r14350 - tags/rel_1_6_0_0/Open-ILS/src/perlmods/OpenILS/Application (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Oct 12 01:08:39 EDT 2009
Author: erickson
Date: 2009-10-12 01:08:35 -0400 (Mon, 12 Oct 2009)
New Revision: 14350
Modified:
tags/rel_1_6_0_0/Open-ILS/src/perlmods/OpenILS/Application/Penalty.pm
Log:
capture the context org parameter for penalty generation.
Modified: tags/rel_1_6_0_0/Open-ILS/src/perlmods/OpenILS/Application/Penalty.pm
===================================================================
--- tags/rel_1_6_0_0/Open-ILS/src/perlmods/OpenILS/Application/Penalty.pm 2009-10-12 05:08:20 UTC (rev 14349)
+++ tags/rel_1_6_0_0/Open-ILS/src/perlmods/OpenILS/Application/Penalty.pm 2009-10-12 05:08:35 UTC (rev 14350)
@@ -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