[freeside-commits] branch FREESIDE_3_BRANCH updated. ab83ed2eed479b689060e686098998df990dd140
Ivan
ivan at 420.am
Tue Jan 10 16:09:50 PST 2017
The branch, FREESIDE_3_BRANCH has been updated
via ab83ed2eed479b689060e686098998df990dd140 (commit)
from 133546cdadf999b58a43e8e1b8ceb5f493e187d6 (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 ab83ed2eed479b689060e686098998df990dd140
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Jan 10 16:09:49 2017 -0800
fix errors about expired cards from automatic encryption enabling, RT#74905, RT#74085
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index 551f8b3..21dce1f 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -5790,6 +5790,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;
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_main.pm | 6 ++++++
1 file changed, 6 insertions(+)
More information about the freeside-commits
mailing list