From: Ivan Kohler Date: Fri, 10 Mar 2017 18:01:07 +0000 (-0800) Subject: fix paymask removal when editing a customer with a tokenized card, RT#74900 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=56cca7cecebae066e066561ca2c086cfa82f40fe fix paymask removal when editing a customer with a tokenized card, RT#74900 --- diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index 4b8993980..a86819f4b 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -330,6 +330,7 @@ if ( $new->custnum eq '' or $duplicate_of ) { ) { $new->payinfo($old->payinfo); + $new->paymask($old->paymask) if ! $new->paymask || $new->paymask =~ /^N\/A/; } elsif ( $new->payby =~ /^(CHEK|DCHK)$/ && $new->payinfo =~ /xx/ ) { #fix for #3085 "edit of customer's routing code only surprisingly causes