[open-ils-commits] r17083 - trunk/Open-ILS/src/perlmods/OpenILS/SIP (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Aug 4 18:09:37 EDT 2010
Author: erickson
Date: 2010-08-04 18:09:30 -0400 (Wed, 04 Aug 2010)
New Revision: 17083
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm
Log:
no need to search for patron summary, instead retrieve directly by usr id
Modified: trunk/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm 2010-08-04 21:22:40 UTC (rev 17082)
+++ trunk/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm 2010-08-04 22:09:30 UTC (rev 17083)
@@ -227,7 +227,7 @@
my $e = $self->{editor};
$e->xact_begin;
- my $summary = $e->search_money_open_user_summary($user_id)->[0];
+ my $summary = $e->retrieve_money_open_user_summary($user_id);
$e->rollback; # xact_rollback + disconnect
my $total = $summary->balance_owed;
More information about the open-ils-commits
mailing list