Skip to content

Commit

Permalink
Use the older method of creating a new array
Browse files Browse the repository at this point in the history
We’re using too old of a PHP version on this instance to support `[]`.
Toward #5.
  • Loading branch information
waldoj committed Jan 2, 2018
1 parent 4ec2c56 commit 454e1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/1.1/legislators.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
if (mysql_num_rows($result) > 0)
{

$legislators = [];
$legislators = array();

while ($legislator = mysql_fetch_array($result, MYSQL_ASSOC))
{
Expand Down

0 comments on commit 454e1c5

Please sign in to comment.