Commit 64c8c90e authored by drumm's avatar drumm
Browse files

Fix array initialization

parent b40f27b1
......@@ -4239,7 +4239,7 @@ function drupalorg_node_view($node, $view_mode = 'full') {
}
// Terms - sector, service, offices in, locations served.
$offices = '';
$offices = [];
$countries = country_get_list();
foreach($node->field_office_locations[LANGUAGE_NONE] as $office){
$offices[$office['country']] = $countries[$office['country']];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment