summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2012-02-12 21:03:16 +0000
committerivan <ivan>2012-02-12 21:03:16 +0000
commit299fb0347e6879166bc293d35f20b891eaa036eb (patch)
tree07def47a0007776c783f774468b11e8ce0f564f2
parentda488625852059b35432537b813beb130381d3a4 (diff)
prevent re-geocoding problems from overzealous replace checks, prevent unnecessary fuzzyfile updates, RT#15381
-rw-r--r--FS/FS/cust_main.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index dbb0144ff..e8bd7b2d0 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -5037,6 +5037,10 @@ sub process_censustract_update {
$cust_main->set('censustract', $new_tract);
$cust_main->set('censusyear', $new_year);
+ local($ignore_expired_card) = 1;
+ local($ignore_illegal_zip) = 1;
+ local($ignore_banned_card) = 1;
+ local($skip_fuzzyfiles) = 1;
local($import) = 1; #prevent automatic geocoding (need its own variable?)
my $error = $cust_main->replace;
die $error if $error;