From 299fb0347e6879166bc293d35f20b891eaa036eb Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 12 Feb 2012 21:03:16 +0000 Subject: [PATCH] prevent re-geocoding problems from overzealous replace checks, prevent unnecessary fuzzyfile updates, RT#15381 --- FS/FS/cust_main.pm | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.11.0