diff options
author | provokateurin <kate@provokateurin.de> | 2024-05-30 16:59:04 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-05-30 17:00:32 +0200 |
commit | 0a7fcde9069ff05cffe22e2ad6831d866103d12c (patch) | |
tree | f0654feabf3b425381480e1b47d47c534601e0e6 /lib/private/NavigationManager.php | |
parent | 8965b702285af9d77e2b51d4d46a6056ba7608b3 (diff) | |
download | nextcloud-server-0a7fcde9069ff05cffe22e2ad6831d866103d12c.tar.gz nextcloud-server-0a7fcde9069ff05cffe22e2ad6831d866103d12c.zip |
fix(NavigationManager): Make entry order always an integer
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private/NavigationManager.php')
-rw-r--r-- | lib/private/NavigationManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php index 05a3a9c85fe..5d71c83e77a 100644 --- a/lib/private/NavigationManager.php +++ b/lib/private/NavigationManager.php @@ -95,7 +95,7 @@ class NavigationManager implements INavigationManager { // This is the default app that will always be shown first $entry['default'] = ($entry['app'] ?? false) === $this->defaultApp; // Set order from user defined app order - $entry['order'] = $this->customAppOrder[$id]['order'] ?? $entry['order'] ?? 100; + $entry['order'] = (int)($this->customAppOrder[$id]['order'] ?? $entry['order'] ?? 100); } $this->entries[$id] = $entry; |