From 1b83c6302a96b77c9f204bf258353f14ba26a382 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Fri, 30 Jun 2023 12:32:14 +0200 Subject: [PATCH] Fix psalm error Signed-off-by: Marcel Klehr --- apps/systemtags/lib/Search/TagSearchProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/systemtags/lib/Search/TagSearchProvider.php b/apps/systemtags/lib/Search/TagSearchProvider.php index d775629b674..5c731e42cc3 100644 --- a/apps/systemtags/lib/Search/TagSearchProvider.php +++ b/apps/systemtags/lib/Search/TagSearchProvider.php @@ -113,7 +113,7 @@ class TagSearchProvider implements IProvider { * @inheritDoc */ public function search(IUser $user, ISearchQuery $query): SearchResult { - $matchingTags = $this->tagManager->getAllTags(1, $query->getTerm()); + $matchingTags = $this->tagManager->getAllTags(true, $query->getTerm()); if (count($matchingTags) === 0) { return SearchResult::complete($this->l10n->t('Tags'), []); } -- 2.39.5