projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2134f9e
)
fix errors about expired cards from automatic encryption enabling, RT#74905, RT#74085
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 11 Jan 2017 00:09:43 +0000
(16:09 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 11 Jan 2017 00:09:43 +0000
(16:09 -0800)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
ee570da
..
5ffc84a
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-5410,6
+5410,12
@@
sub queueable_upgrade {
if (!$record->custnum && $table eq 'cust_pay_pending') {
$record->set('custnum_pending',1);
}
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;
}
my $error = $record->replace;
die $error if $error;
}