summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2018-06-11 20:31:59 -0500
committerMitch Jackson <mitch@freeside.biz>2018-06-11 20:31:59 -0500
commitf079061ec1005edbb9d292377bf4eb1a769fa681 (patch)
treed553a38fbce8bb652e176f65c6bc18366574fcd4
parented87c04490375c6663843f8065e69a7690939b18 (diff)
RT# 80513 Selfservice not reflecting change to payinfo
-rw-r--r--FS/FS/ClientAPI/MyAccount.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index 60a70fddc..263b3116b 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -1742,6 +1742,7 @@ sub update_payby {
next unless exists($p->{$field});
$cust_payby->set($field,$p->{$field});
}
+ $cust_payby->set( 'paymask' => $cust_payby->mask_payinfo );
# Update column if given a value, and the given value wasn't
# the value generated by $cust_main->masked($column);