mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
2951ae277d
commit
29c0e078a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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'), []);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue