diff options
author | ivan <ivan> | 2012-02-12 03:18:32 +0000 |
---|---|---|
committer | ivan <ivan> | 2012-02-12 03:18:32 +0000 |
commit | 7965de6cbd9f9795acc5fc27d6597a5ce63f6434 (patch) | |
tree | de944525decc5ad8f12e39da0f05c2f9fc67b356 | |
parent | 50fbdac1848a2131a15388c7cb4c37a8e267d149 (diff) |
prevent automatic geocoding when batch processing censustract updates, RT#15381
-rw-r--r-- | FS/FS/cust_main.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 5fd0cb617..dbb0144ff 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -5036,6 +5036,8 @@ sub process_censustract_update { # then it's a tract code $cust_main->set('censustract', $new_tract); $cust_main->set('censusyear', $new_year); + + local($import) = 1; #prevent automatic geocoding (need its own variable?) my $error = $cust_main->replace; die $error if $error; } |