summaryrefslogtreecommitdiff
path: root/FS/bin
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2022-02-27 15:42:41 -0800
committerIvan Kohler <ivan@freeside.biz>2022-02-27 15:42:41 -0800
commitc564754d5f17c616782fb27432e6b056bd8fa00d (patch)
treee8850e5c64df211084a08aa70f4ad156f44b85d2 /FS/bin
parent1fc8addc56f8daf12397da568eb1ac1b27fd3984 (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 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.