diff options
author | Ivan Kohler <ivan@freeside.biz> | 2022-02-27 15:47:49 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2022-02-27 15:47:49 -0800 |
commit | ad95974fd5f5c00d14630fe834c37eb9131c8a20 (patch) | |
tree | c711e87cb77e527175d911a0a3c07834d820e300 /FS/bin | |
parent | 3787b82344ddd6447dc9074e95d7e18bf7148ccf (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 'FS/bin')
-rwxr-xr-x | FS/bin/freeside-censustract-update | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/FS/bin/freeside-censustract-update b/FS/bin/freeside-censustract-update index f9b6d11..27a17be 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. |