summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-10-23 17:30:37 -0700
committerIvan Kohler <ivan@freeside.biz>2018-10-23 17:30:37 -0700
commit74cdc73b9f0e6e1cdd7fd68e7fb2830bba4fdba0 (patch)
tree87fd2f2a3bc75550d675cfe90d054e08c2a89253 /FS
parent793766b8e51bf0bf4c61cbb0fb613d746db3b4fa (diff)
fix upgrade: clear bad cust_refund.source_paynum before encrypting, RT#81508
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Upgrade.pm9
1 files changed, 6 insertions, 3 deletions
diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm
index bbd1ee12b..e901a7f1d 100644
--- a/FS/FS/Upgrade.pm
+++ b/FS/FS/Upgrade.pm
@@ -332,11 +332,14 @@ sub upgrade_data {
tie my %hash, 'Tie::IxHash',
+ #remap log levels
+ 'log' => [],
+
#fix whitespace - before cust_main
'cust_location' => [],
- #remap log levels
- 'log' => [],
+ #remove bad source_paynum before cust_main
+ 'cust_refund' => [],
#cust_main (tokenizes cards, remove paycvv from history, locations, cust_payby, etc)
# (handles payinfo encryption/tokenization across all relevant tables)
@@ -401,7 +404,7 @@ sub upgrade_data {
'cust_pkg' => [],
#'cust_pkg_reason' => [],
'cust_pkg_discount' => [],
- 'cust_refund' => [],
+ #'cust_refund' => [],
'banned_pay' => [],
#default namespace