Update homepage pledge image rotation for federal.
This commit is contained in:
@@ -61,7 +61,7 @@ function parse_pledge_data($candidates_files, $default_image) {
|
||||
if (!empty($elected_data) && array_key_exists($name_slug, $elected_data)) {
|
||||
$candidate['Elected'] = $elected_data[$name_slug]['Elected'];
|
||||
}
|
||||
$candidate['Council'] = $config['councilName'];
|
||||
$candidate['Council'] = $config['divisionName'];
|
||||
$candidate['Path'] = dirname($file);
|
||||
$media_desc = $candidate['Path']."/".
|
||||
$candidate['Picture'].".json";
|
||||
|
||||
Reference in New Issue
Block a user