[freeside-commits] branch FREESIDE_3_BRANCH updated. 56cca7cecebae066e066561ca2c086cfa82f40fe
Ivan
ivan at 420.am
Fri Mar 10 10:01:10 PST 2017
The branch, FREESIDE_3_BRANCH has been updated
via 56cca7cecebae066e066561ca2c086cfa82f40fe (commit)
from 01f9e027252b87d21c76b8dad737a761e61bb1f7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 56cca7cecebae066e066561ca2c086cfa82f40fe
Author: Ivan Kohler <ivan at freeside.biz>
Date: Fri Mar 10 10:01:07 2017 -0800
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 4b89939..a86819f 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
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/process/cust_main.cgi | 1 +
1 file changed, 1 insertion(+)
More information about the freeside-commits
mailing list