Update pledge-page generation for federal election.
This commit is contained in:
@@ -32,7 +32,7 @@ $candidate_data = parse_pledge_data(explode(" ", $candidates_files), $default_im
|
||||
|
||||
/* Select people who have taken the pledge */
|
||||
$pledgeCandidates = array_filter($candidate_data, function ($candidate) {
|
||||
return $candidate['Pledge'] === 'y';
|
||||
return $candidate['Pledge'] === 'Yes';
|
||||
});
|
||||
|
||||
$renderer = new SPLPageRenderer();
|
||||
|
||||
Reference in New Issue
Block a user