Skip to content

Commit

Permalink
Merge pull request #1197 from simplesamlphp/admin-ui
Browse files Browse the repository at this point in the history
Fix Admin UI glitch
  • Loading branch information
jaimeperez committed Sep 11, 2019
2 parents 3c52b28 + 2def4b5 commit 06401d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/admin/lib/FederationController.php
Expand Up @@ -118,7 +118,8 @@ public function main()
} elseif (isset($entity[$old]['en'])) {
$entries['remote'][$key][$entityid][$new] = $entity[$old]['en'];
} elseif (isset($entries['remote'][$key][$entityid][$old])) {
$entries['remote'][$key][$entityid][$new] = $entries['remote'][$key][$entityid][$old];
$old_entry = $entries['remote'][$key][$entityid][$old];
$entries['remote'][$key][$entityid][$new] = is_array($old_entry) ? $entityid : $old_entry;
}
}
}
Expand Down

0 comments on commit 06401d6

Please sign in to comment.