Skip to content

Commit

Permalink
Merge pull request #852 from jpwhite4/rawrealm
Browse files Browse the repository at this point in the history
Fix regression from #818
  • Loading branch information
jpwhite4 authored Mar 13, 2019
2 parents fa8459b + 5cc2ab7 commit a5737eb
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 a5737eb

Please sign in to comment.