mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 01:28:08 -04:00
Avoid error undefined index classes in log
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
8ac8773233
commit
0e17b65bcf
1 changed files with 3 additions and 0 deletions
|
|
@ -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';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue