diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-01-10 16:09:47 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-01-10 16:09:47 -0800 |
commit | 35ab78d0e206a07b3f0904adc3c5ae8e58b0087e (patch) | |
tree | 79fab6c75b6870f04e90a68382feebb66a1fae82 /FS/FS/cust_main.pm | |
parent | b587f4775b0ac6eecd6bdeec921fe0bbd4e8720a (diff) |
fix errors about expired cards from automatic encryption enabling, RT#74905, RT#74085
Diffstat (limited to 'FS/FS/cust_main.pm')
-rw-r--r-- | FS/FS/cust_main.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 5b113f8..74b5c51 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -5840,6 +5840,12 @@ sub queueable_upgrade { if (!$record->custnum && $table eq 'cust_pay_pending') { $record->set('custnum_pending',1); } + + local($ignore_expired_card) = 1; + local($ignore_banned_card) = 1; + local($skip_fuzzyfiles) = 1; + local($import) = 1;#prevent automatic geocoding (need its own variable?) + my $error = $record->replace; die $error if $error; } |