[freeside-commits] freeside/httemplate/misc/process payment.cgi, 1.28, 1.29
Mark Wells
mark at wavetail.420.am
Wed Nov 30 13:31:35 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/misc/process
In directory wavetail.420.am:/tmp/cvs-serv3717/httemplate/misc/process
Modified Files:
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.28
retrieving revision 1.29
diff -u -w -d -r1.28 -r1.29
--- payment.cgi 21 Oct 2011 16:30:02 -0000 1.28
+++ payment.cgi 30 Nov 2011 21:31:33 -0000 1.29
@@ -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