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!) --- FS/bin/freeside-censustract-update | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'FS/bin') diff --git a/FS/bin/freeside-censustract-update b/FS/bin/freeside-censustract-update index f9b6d1197..27a17be36 100755 --- a/FS/bin/freeside-censustract-update +++ b/FS/bin/freeside-censustract-update @@ -18,8 +18,7 @@ $FS::UID::AutoCommit = 0; my $dbh = dbh; my $conf = FS::Conf->new; -my $current_year = $conf->config('census_year') - or die "No current census year configured.\n"; +my $current_year = $conf->config('census_legacy') || '2020'; my $date = str2time($opt{d}) if $opt{d}; $date ||= time; # This now operates on cust_location, not cust_main. -- cgit v1.2.1