diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-07-26 15:05:00 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-07-26 15:05:00 +0200 |
commit | 68ba96a7d54e0a1dcf5cbc6830f6366117d0d816 (patch) | |
tree | 8eae637321a1ec25b07adaf4c12c4883afd1d1ca /apps | |
parent | adcc061166ab86bd39b004bd85847320fdd2d525 (diff) | |
download | nextcloud-server-68ba96a7d54e0a1dcf5cbc6830f6366117d0d816.tar.gz nextcloud-server-68ba96a7d54e0a1dcf5cbc6830f6366117d0d816.zip |
Not all sidebar entries have the "classes" attribute
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/templates/appnavigation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index 04bcc577001..a2361d92005 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -64,7 +64,7 @@ * @return int Returns the pinned value */ function NavigationListElements($item, $l, $pinned) { - strpos($item['classes'], 'pinned') !== false ? $pinned++ : ''; + strpos($item['classes'] ?? '', 'pinned') !== false ? $pinned++ : ''; ?> <li data-id="<?php p($item['id']) ?>" |