diff options
| author | ivan <ivan> | 2012-02-12 03:18:34 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2012-02-12 03:18:34 +0000 |
| commit | 236c838b7b4c45fa07c477e67b8ca268ca90c337 (patch) | |
| tree | 20bdb10065d926d9ecd8a758830fab191409d386 | |
| parent | 16bbdacd2857c0e4919df47d1a7f77290fad6919 (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 7bb41bb2c..0cd2d2523 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -4986,6 +4986,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; } |
