Skip to content
Snippets Groups Projects
Unverified Commit 06401d6a authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo Committed by GitHub
Browse files

Merge pull request #1197 from simplesamlphp/admin-ui

Fix Admin UI glitch
parents 3c52b289 2def4b5c
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,8 @@ class FederationController
} 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;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment