Browse Source

Fix psalm error

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Marcel Klehr 1 year ago
parent
commit
29c0e078a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/systemtags/lib/Search/TagSearchProvider.php

+ 1 - 1
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'), []);
 		}