summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-06-30 12:32:14 +0200
committerAnna Larch <anna@nextcloud.com>2023-07-06 14:58:16 +0200
commit656d54f51fa137fe7a06e2c9af70958be86a07b1 (patch)
tree0f464610988100de7d4aff4f83b52ac975ba4092 /apps
parent38bd09c96f186ba0232eda6c8767d04386ec40c3 (diff)
downloadnextcloud-server-656d54f51fa137fe7a06e2c9af70958be86a07b1.tar.gz
nextcloud-server-656d54f51fa137fe7a06e2c9af70958be86a07b1.zip
Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/systemtags/lib/Search/TagSearchProvider.php2
1 files changed, 1 insertions, 1 deletions
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'), []);
}