diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-20 18:09:27 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-21 14:00:39 +0200 |
commit | 0e17b65bcf32c84664ae90d22cfc42617d06e70f (patch) | |
tree | e925e60f1d75a4314865d27211a3355d87a25644 /lib/private/NavigationManager.php | |
parent | 8ac8773233ff65090bd92361df19630a98951bc3 (diff) | |
download | nextcloud-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.php | 3 |
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'; } |