From 266f9458f491d1a6cd85298492f4ae5e7e358f5d Mon Sep 17 00:00:00 2001 From: Waldo Jaquith Date: Tue, 2 Jan 2024 21:08:28 -0500 Subject: [PATCH] Fix reported source URL --- cron/legislators.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cron/legislators.php b/cron/legislators.php index 7939952..d0d2053 100644 --- a/cron/legislators.php +++ b/cron/legislators.php @@ -212,8 +212,9 @@ if ($match == FALSE && $name != 'Vacant') { - $log->put('Found a new senator: ' . $name - . ' (http://apps.senate.virginia.gov/Senator/memberpage.php?id=' . $lis_id . ')', 6); + $log->put('Found a new senator: ' . $name . ' (' + . 'https://lis.virginia.gov/cgi-bin/legp604.exe?' . SESSION_LIS_ID . '+mbr+S117' + . $lis_id . ')', 6); $data = $import->fetch_legislator_data('senate', $lis_id); if ($data == false)