summaryrefslogtreecommitdiffstats
path: root/core/Controller/NavigationController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/NavigationController.php')
-rw-r--r--core/Controller/NavigationController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Controller/NavigationController.php b/core/Controller/NavigationController.php
index 92f103c3a34..3521fac3b46 100644
--- a/core/Controller/NavigationController.php
+++ b/core/Controller/NavigationController.php
@@ -83,6 +83,9 @@ class NavigationController extends OCSController {
if (0 !== strpos($entry['href'], $this->urlGenerator->getBaseUrl())) {
$entry['href'] = $this->urlGenerator->getAbsoluteURL($entry['href']);
}
+ if (0 !== strpos($entry['icon'], $this->urlGenerator->getBaseUrl())) {
+ $entry['icon'] = $this->urlGenerator->getAbsoluteURL($entry['icon']);
+ }
}
return $navigation;
}