Skip to content

Commit 7898326

Browse files
marcelklehrmiaulalala
authored andcommitted
Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 470f2ec commit 7898326

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/systemtags/lib/Search/TagSearchProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function getOrder(string $route, array $routeParameters): int {
113113
* @inheritDoc
114114
*/
115115
public function search(IUser $user, ISearchQuery $query): SearchResult {
116-
$matchingTags = $this->tagManager->getAllTags(1, $query->getTerm());
116+
$matchingTags = $this->tagManager->getAllTags(true, $query->getTerm());
117117
if (count($matchingTags) === 0) {
118118
return SearchResult::complete($this->l10n->t('Tags'), []);
119119
}

0 commit comments

Comments
 (0)