diff options
author | mark <mark> | 2011-11-30 21:31:33 +0000 |
---|---|---|
committer | mark <mark> | 2011-11-30 21:31:33 +0000 |
commit | bd376d43f95dcdebcd180e7fff5caf0678edc15d (patch) | |
tree | 26141c89c945cf3cd58f452c1e82a0efd2a3b917 /httemplate/misc/process/payment.cgi | |
parent | 2b506b8beb731f6319ddecaa34542978ee94dbb1 (diff) |
fix manual credit card payment with term discounts, #15068
Diffstat (limited to 'httemplate/misc/process/payment.cgi')
-rw-r--r-- | httemplate/misc/process/payment.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/process/payment.cgi b/httemplate/misc/process/payment.cgi index efbdb764c..bfa3f0ea9 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; |