projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b506b8
)
fix manual credit card payment with term discounts, #15068
author
mark
<mark>
Wed, 30 Nov 2011 21:31:33 +0000
(21:31 +0000)
committer
mark
<mark>
Wed, 30 Nov 2011 21:31:33 +0000
(21:31 +0000)
httemplate/misc/process/payment.cgi
patch
|
blob
|
history
diff --git
a/httemplate/misc/process/payment.cgi
b/httemplate/misc/process/payment.cgi
index
efbdb76
..
bfa3f0e
100644
(file)
--- 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;