diff options
author | Ivan Kohler <ivan@freeside.biz> | 2022-02-27 15:48:01 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2022-02-27 15:48:01 -0800 |
commit | 7b5cd538a10c11fc25fe221381a2973463c3819f (patch) | |
tree | faf17f7fde4dcbc84283dbeb2871afb7c775150c /FS/bin/freeside-censustract-update | |
parent | c70101e5baf8b7a0a8c87f4307bacc2643154a6b (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/freeside-censustract-update')
-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 af9ad749b..04787d650 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. |