X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2Fgeocode_Mixin.pm;h=b999be0abc30c0921562c0a9d022bbf747de0f67;hb=26e8adc999712c58cec4f4c3429880f020152731;hp=ef16e741d26ce64a6f8071bd4670529168f27094;hpb=096d9a396290f30f542f687867499f5cd6e7243c;p=freeside.git

diff --git a/FS/FS/geocode_Mixin.pm b/FS/FS/geocode_Mixin.pm
index ef16e741d..b999be0ab 100644
--- a/FS/FS/geocode_Mixin.pm
+++ b/FS/FS/geocode_Mixin.pm
@@ -265,6 +265,7 @@ sub process_district_update {
   my $method = $conf->config('tax_district_method')
     or return; #nothing to do if null
   my $self = $class->by_key($id) or die "object $id not found";
+  return if $self->disabled;
 
   # dies on error, fine
   my $tax_info = get_district({ $self->location_hash }, $method);