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
|
@ -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 New Issue