Avoid error undefined index classes in log

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-09-20 18:09:27 +02:00
parent 8ac8773233
commit 0e17b65bcf
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 3 additions and 0 deletions

View File

@ -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';
}