From: mark Date: Wed, 30 Nov 2011 21:37:22 +0000 (+0000) Subject: fix typo, #15068 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=94c49c00e056bbbda3f866a98e80124153370656;p=freeside.git fix typo, #15068 --- diff --git a/httemplate/misc/process/payment.cgi b/httemplate/misc/process/payment.cgi index bfa3f0ea9..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;