[open-ils-commits] [GIT] Evergreen ILS branch master updated. ad99eb3eb6109e8250d068c23ed5238b968109b3

Evergreen Git git at git.evergreen-ils.org
Thu Oct 13 00:10:18 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, master has been updated
       via  ad99eb3eb6109e8250d068c23ed5238b968109b3 (commit)
      from  0cceaa8c24d18b8e2d3691049eef97ae3f373ca6 (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 ad99eb3eb6109e8250d068c23ed5238b968109b3
Author: Jason Stephenson <jstephenson at mvlc.org>
Date:   Mon Sep 26 15:52:52 2011 -0400

    Verify session before trying any transactions in SIP->pay_fee.
    
    Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
index acfa572..a6d3aab 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
@@ -430,6 +430,8 @@ sub pay_fee {
     my ($self, $patron_id, $patron_pwd, $fee_amt, $fee_type,
 	$pay_type, $fee_id, $trans_id, $currency) = @_;
 
+    $self->verify_session;
+
     my $xact = OpenILS::SIP::Transaction::FeePayment->new(authtoken => $self->{authtoken});
     my $patron = $self->find_patron($patron_id);
 

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

Summary of changes:
 Open-ILS/src/perlmods/lib/OpenILS/SIP.pm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list