From c564754d5f17c616782fb27432e6b056bd8fa00d Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 27 Feb 2022 15:42:41 -0800 Subject: Form 477 update for 2022+ reporting (2020 census data), RT#86245 (New FS::Misc::Geo::get_censustract_uscensus subroutine contributed by Jim Lucas , thanks!) --- httemplate/misc/confirm-censustract.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/misc') diff --git a/httemplate/misc/confirm-censustract.html b/httemplate/misc/confirm-censustract.html index 0f115e5d7..8535c1495 100644 --- a/httemplate/misc/confirm-censustract.html +++ b/httemplate/misc/confirm-censustract.html @@ -103,7 +103,7 @@ my %location = ( my $old_tract = $q->{$pre.'censustract'}; my $cache = eval { FS::GeocodeCache->new(%location) }; $cache->set_censustract; -my $year = FS::Conf->new->config('census_year'); +my $year = FS::Conf->new->config('census_legacy') || '2020'; my $new_tract = $cache->get('censustract'); my $error = $cache->get('censustract_error'); -- cgit v1.2.1