X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FMisc%2FGeo.pm;h=3ab1ea72f144ca854b8fd9c356d8f4f81d1aabe1;hb=59340bb2d8c9bd8445b6890da2a57b6f004b4b97;hp=5cb10b2fb4b5a9d55de611629491b87e9919f683;hpb=fead47c024e1a6c4bc49b5387a4c690dc1a4bf3d;p=freeside.git diff --git a/FS/FS/Misc/Geo.pm b/FS/FS/Misc/Geo.pm index 5cb10b2fb..3ab1ea72f 100644 --- a/FS/FS/Misc/Geo.pm +++ b/FS/FS/Misc/Geo.pm @@ -81,7 +81,7 @@ sub get_censustract_ffiec { my($zip5, $zip4) = split('-',$location->{zip}); - $year ||= '2011'; #2012 per http://transition.fcc.gov/form477/techfaqs.html soon/now? + $year ||= '2012'; my @ffiec_args = ( __VIEWSTATE => $viewstate, __EVENTVALIDATION => $eventvalidation, @@ -393,7 +393,7 @@ sub standardize_ezlocate { 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', }; }