Skip to content

Commit

Permalink
Quote values properly
Browse files Browse the repository at this point in the history
  • Loading branch information
waldoj committed Feb 17, 2018
1 parent aa90a71 commit 84b1d0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/vote.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@
{
$legislator['vote'] = strtolower($legislator['vote']);
$legislator['party'] = strtolower($legislator['party']);
$graph[$legislator{vote}][$legislator{party}]++;
$parties[$legislator{party}] = 1;
$graph[$legislator{'vote'}][$legislator{'party'}]++;
$parties[$legislator{'party'}] = 1;
}

# Make sure that we don't have any missing data, party-wise. That is, Google gets sad if
Expand Down

0 comments on commit 84b1d0c

Please sign in to comment.