Skip to content

Commit

Permalink
Make sure we have bill numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
waldoj committed Feb 22, 2024
1 parent f508ef1 commit b0a3ed6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cron/summarize_fis.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
}

foreach ($bills as $bill) {
// Sometimes we're not getting bill numbers, unclear why
if (!isset($bill['number']) || empty($bill['number'])) {
continue;
}

// Assemble the URL
$url = 'https://lis.virginia.gov/cgi-bin/legp604.exe?' . SESSION_LIS_ID . '+oth+'
Expand Down

0 comments on commit b0a3ed6

Please sign in to comment.