Update pledge-page generation for federal election.
This commit is contained in:
1 parent
d8684760e5
commit
60a33194e1
1 file changed
+1
-1
@@ -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