Skip to content

Commit

Permalink
fix: removed single quotes around variable, which was preventing vote…
Browse files Browse the repository at this point in the history
… information from being saving
  • Loading branch information
nathanielwoodland committed Nov 30, 2023
1 parent d73438a commit d6be526
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 d6be526

Please sign in to comment.