Skip to content

Commit

Permalink
Merge pull request #859 from nextcloud/backport/855/stable30
Browse files Browse the repository at this point in the history
[stable30] fix: Add navigation entry by closure
  • Loading branch information
ArtificialOwl authored Aug 19, 2024
2 parents d484c05 + 07ea152 commit 7cd9177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ protected function registerNavigation(IServerContainer $container) {

try {
$container->get(INavigationManager::class)
->add($this->fullTextSearchNavigation());
->add(fn () => $this->fullTextSearchNavigation());
} catch (RouteNotFoundException $e) {
}
}
Expand Down

0 comments on commit 7cd9177

Please sign in to comment.