Skip to content

Commit 501a139

Browse files
committed
fix: only consider the search item when have a method
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent b41bb04 commit 501a139

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Collaboration/Collaborators/SignerPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function search($search, $limit, $offset, ISearchResult $searchResult): b
6262
}
6363
}
6464

65-
if (!count($identifiers) && !$this->canValidateMethod()) {
65+
if (!count($identifiers) && self::$method && !$this->canValidateMethod()) {
6666
$result['exact'][] = [
6767
'label' => $search,
6868
'shareWithDisplayNameUnique' => $search,

0 commit comments

Comments
 (0)