summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-06-02 02:34:14 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-06-03 19:38:54 -0500
commit1ceeee1c6b8c46805c103fbcfc1bbee768b12609 (patch)
treef9d32132d2fe9d40faeda6ff9198beb284d5ce9d /httemplate/elements
parent1a11b9ba4171a706ad168c0ba615d88cba9d512b (diff)
RT#42394: paycvv during cust_payby replace (v4+ only) [fixed paycvv removal]
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/cust_payby.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/cust_payby.html b/httemplate/elements/cust_payby.html
index c7d4549df..60e6eb8b1 100644
--- a/httemplate/elements/cust_payby.html
+++ b/httemplate/elements/cust_payby.html
@@ -68,7 +68,7 @@
ID = "<%$id%>_paycvv"
SIZE = 2
MAXLENGTH = 4
- VALUE = "<% scalar($cgi->param($name.'_paycvv')) %>"
+ VALUE = "<% scalar($cgi->param($name.'_paycvv')) || ('*' x length($cust_payby->paycvv)) %>"
onChange = "<% $onchange %>"
>
<BR><FONT SIZE="-1"><% mt('CVV2') |h %>&nbsp;(<A HREF="javascript:void(0);" onClick="overlib( OLiframeContent('<%$p%>docs/cvv2.html', 480, 275, 'cvv2_popup' ), CAPTION, 'CVV2 Help', STICKY, AUTOSTATUSCAP, CLOSECLICK, DRAGGABLE ); return false;"><% mt('help') |h %></A>)</FONT>