summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authormark <mark>2011-11-30 21:37:54 +0000
committermark <mark>2011-11-30 21:37:54 +0000
commit463b721a379d9025d351ce4e6a9f480651fc19c6 (patch)
treefb71353f49d47d1a0a8ef5abd02f9e7d99057cc5 /httemplate
parent2881220f0f03bb66f117211025f5541d619ccaca (diff)
fix manual credit card payment with term discounts, #15068
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/misc/process/payment.cgi2
1 files changed, 1 insertions, 1 deletions
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;