From bf930330f7682ffaa7bafb28e083dd4892a6c721 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 12 Feb 2012 21:03:19 +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 0cd2d2523..fe6230744 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -4987,6 +4987,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.20.1