Skip to content

Commit

Permalink
Merge pull request #61 from nysenate/feature/aten-nys-40--missing-aye…
Browse files Browse the repository at this point in the history
…-nay-actions

Fixes bug in Open Leg Agendas importer that was preventing vote information from saving during import
  • Loading branch information
kzalewski authored Dec 5, 2023
2 parents 7213366 + d6be526 commit 79399b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function ($v) {
}
foreach (($item->voteInfo->votesList->items ?? []) as $vote) {
$name = BillHelper::formatTitle($vote->bill);
if (array_key_exists('$name', $bills)) {
if (array_key_exists($name, $bills)) {
$bills[$name]['vote'] = $vote;
}
}
Expand Down

0 comments on commit 79399b6

Please sign in to comment.