Skip to content

Commit

Permalink
Fix menu-generation bugs
Browse files Browse the repository at this point in the history
Toward #296.
  • Loading branch information
waldoj committed Jan 10, 2020
1 parent 3599d12 commit e4d2a48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/generate-menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

require '../htdocs/includes/settings.inc.php';
require '../htdocs/includes/class.Database.php';
require '../htdocs/includes/vendor/autoload.php';

$database = new Database;
$db = $database->connect_mysqli();
Expand All @@ -17,7 +18,7 @@
* Get a list of all legislators.
*/
$legislator = new Legislator;
$legislator_list = $legislator->list('current');
$legislator_list = $legislator->get_list('current');

$legislators = array('house' => array(), 'senate' => array());

Expand Down

0 comments on commit e4d2a48

Please sign in to comment.