summaryrefslogtreecommitdiff
path: root/FS/bin
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 /FS/bin
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 'FS/bin')
-rwxr-xr-xFS/bin/freeside-censustract-update3
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.