summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2022-02-27 15:47:49 -0800
committerIvan Kohler <ivan@freeside.biz>2022-02-27 15:47:49 -0800
commitad95974fd5f5c00d14630fe834c37eb9131c8a20 (patch)
treec711e87cb77e527175d911a0a3c07834d820e300 /httemplate
parent3787b82344ddd6447dc9074e95d7e18bf7148ccf (diff)
Form 477 update for 2022+ reporting (2020 census data), RT#86245 (New FS::Misc::Geo::get_censustract_uscensus subroutine contributed by Jim Lucas <jlucas@cmsws.com>, thanks!)
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/misc/confirm-censustract.html2
1 files changed, 1 insertions, 1 deletions
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');