[freeside-commits] freeside/httemplate/misc/process payment.cgi, 1.22.4.6, 1.22.4.7

Mark Wells mark at wavetail.420.am
Wed Nov 30 13:37:56 PST 2011


Update of /home/cvs/cvsroot/freeside/httemplate/misc/process
In directory wavetail.420.am:/tmp/cvs-serv5283/httemplate/misc/process

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	payment.cgi 
Log Message:
fix manual credit card payment with term discounts, #15068

Index: payment.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/process/payment.cgi,v
retrieving revision 1.22.4.6
retrieving revision 1.22.4.7
diff -u -w -d -r1.22.4.6 -r1.22.4.7
--- payment.cgi	21 Oct 2011 16:30:03 -0000	1.22.4.6
+++ payment.cgi	30 Nov 2011 21:37:54 -0000	1.22.4.7
@@ -129,7 +129,7 @@
   die "unknown payby $payby";
 }
 
-$cgi->param('discount_term') =~ /^\d*$/
+$cgi->param('discount_term') =~ /^(\d*)$/
   or errorpage("illegal discount_term");
 my $discount_term = $1;
 



More information about the freeside-commits mailing list