From 463b721a379d9025d351ce4e6a9f480651fc19c6 Mon Sep 17 00:00:00 2001 From: mark Date: Wed, 30 Nov 2011 21:37:54 +0000 Subject: [PATCH] fix manual credit card payment with term discounts, #15068 --- httemplate/misc/process/payment.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0