Skip to content

Commit

Permalink
Merge pull request #1130 from jpwhite4/array_return
Browse files Browse the repository at this point in the history
Fix configuration settings for configuration class.
  • Loading branch information
jpwhite4 authored Oct 28, 2019
2 parents 6c5335f + d3b988e commit b5d783a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/OpenXdmod/DataWarehouseInitializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ public function getEnabledRealms()
return $this->enabledRealms;
}

$resources = XdmodConfiguration::assocArrayFactory('resources.json', CONFIG_DIR);
$resources = XdmodConfiguration::assocArrayFactory('resources.json', CONFIG_DIR, null, array('force_array_return' => true));
$resourceTypes = XdmodConfiguration::assocArrayFactory('resource_types.json', CONFIG_DIR)['resource_types'];

$currentResourceTypes = array();
Expand Down

0 comments on commit b5d783a

Please sign in to comment.