From 0e17b65bcf32c84664ae90d22cfc42617d06e70f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Wed, 20 Sep 2017 18:09:27 +0200 Subject: [PATCH] Avoid error undefined index classes in log MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- lib/private/NavigationManager.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php index 5e484bea73..3cf4459ddf 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'; }