Skip to content

Commit

Permalink
Fix regression from ubccr#818
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwhite4 committed Mar 13, 2019
1 parent fa8459b commit 5cc2ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Rest/Controllers/WarehouseControllerProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ private function getJobDataSet(XDUser $user, $realm, $jobId, $action)
$rawstats = XdmodConfiguration::assocArrayFactory('rawstatistics.json', CONFIG_DIR);

$realmExists = false;
foreach ($rawstats as $item) {
foreach ($rawstats['realms'] as $item) {
if ($item['name'] === $realm) {
$realmExists = true;
break;
Expand Down

0 comments on commit 5cc2ab7

Please sign in to comment.