From: mark Date: Wed, 30 Nov 2011 21:37:54 +0000 (+0000) Subject: fix manual credit card payment with term discounts, #15068 X-Git-Tag: freeside_2_3_1~120 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=463b721a379d9025d351ce4e6a9f480651fc19c6 fix manual credit card payment with term discounts, #15068 --- diff --git a/httemplate/misc/process/payment.cgi b/httemplate/misc/process/payment.cgi index efbdb764c..f4f9561dc 100644 --- a/httemplate/misc/process/payment.cgi +++ b/httemplate/misc/process/payment.cgi @@ -129,7 +129,7 @@ if ( $payby eq 'CHEK' ) { die "unknown payby $payby"; } -$cgi->param('discount_term') =~ /^\d*$/ +$cgi->param('discount_term') =~ /^(\d*)$/ or errorpage("illegal discount_term"); my $discount_term = $1;