summaryrefslogtreecommitdiffstats
path: root/lib/private/NavigationManager.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-20 18:09:27 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-21 14:00:39 +0200
commit0e17b65bcf32c84664ae90d22cfc42617d06e70f (patch)
treee925e60f1d75a4314865d27211a3355d87a25644 /lib/private/NavigationManager.php
parent8ac8773233ff65090bd92361df19630a98951bc3 (diff)
downloadnextcloud-server-0e17b65bcf32c84664ae90d22cfc42617d06e70f.tar.gz
nextcloud-server-0e17b65bcf32c84664ae90d22cfc42617d06e70f.zip
Avoid error undefined index classes in log
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/NavigationManager.php')
-rw-r--r--lib/private/NavigationManager.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php
index 5e484bea737..3cf4459ddfc 100644
--- a/lib/private/NavigationManager.php
+++ b/lib/private/NavigationManager.php
@@ -91,6 +91,9 @@ class NavigationManager implements INavigationManager {
if(!isset($entry['icon'])) {
$entry['icon'] = '';
}
+ if(!isset($entry['classes'])) {
+ $entry['classes'] = '';
+ }
if(!isset($entry['type'])) {
$entry['type'] = 'link';
}