summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authormark <mark>2011-11-30 21:37:22 +0000
committermark <mark>2011-11-30 21:37:22 +0000
commit94c49c00e056bbbda3f866a98e80124153370656 (patch)
treefcfaf8c7b27de80ee4303c7f69833ba2bb637fe2 /httemplate
parentbd376d43f95dcdebcd180e7fff5caf0678edc15d (diff)
fix typo, #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 bfa3f0e..f4f9561 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;