summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/NavigationManager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php
index 7465daef359..300c24ff940 100644
--- a/lib/private/NavigationManager.php
+++ b/lib/private/NavigationManager.php
@@ -246,6 +246,7 @@ class NavigationManager implements INavigationManager {
continue;
}
$l = $this->l10nFac->get($app);
+ $id = isset($nav['id']) ? $nav['id'] : $app;
$order = isset($nav['order']) ? $nav['order'] : 100;
$type = isset($nav['type']) ? $nav['type'] : 'link';
$route = $this->urlGenerator->linkToRoute($nav['route']);
@@ -263,7 +264,7 @@ class NavigationManager implements INavigationManager {
}
$this->add([
- 'id' => $app,
+ 'id' => $id,
'order' => $order,
'href' => $route,
'icon' => $icon,