Merge branch 'master' of git.freeside.biz:/home/git/freeside
authorIvan Kohler <ivan@freeside.biz>
Wed, 12 Jun 2013 20:28:41 +0000 (13:28 -0700)
committerIvan Kohler <ivan@freeside.biz>
Wed, 12 Jun 2013 20:28:41 +0000 (13:28 -0700)
1  2 
FS/FS/Misc/Geo.pm

diff --combined FS/FS/Misc/Geo.pm
@@@ -363,7 -363,7 +363,7 @@@ sub standardize_ezlocate 
    #}
  
    $class = 'Geo::EZLocate'; # use our own library
 -  eval "use $class";
 +  eval "use $class 0.02"; #Geo::EZLocate 0.02 for error handling
    die $@ if $@;
  
    my $userid = $conf->config('ezlocate-userid')
      latitude    => $match->{MAT_LAT},
      longitude   => $match->{MAT_LON},
      censustract => $match->{FIPS_ST}.$match->{FIPS_CTY}.
-                    sprintf('%04.2f',$match->{CEN_TRCT}),
+                    sprintf('%07.2f',$match->{CEN_TRCT}),
      addr_clean  => 'Y',
    };
  }