Update homepage pledge image rotation for federal.
This commit is contained in:
1 parent
1735d52781
commit
d8684760e5
2 files changed
+3
-3
No files matched your search
@@ -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