mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #35354 from nextcloud/backport/35206/stable25
[stable25] Fix forwarding the object id when searching comments
This commit is contained in:
commit
6d566367a9
1 changed files with 1 additions and 1 deletions
|
|
@ -605,7 +605,7 @@ class Manager implements ICommentsManager {
|
|||
public function search(string $search, string $objectType, string $objectId, string $verb, int $offset, int $limit = 50): array {
|
||||
$objectIds = [];
|
||||
if ($objectId) {
|
||||
$objectIds[] = $objectIds;
|
||||
$objectIds[] = $objectId;
|
||||
}
|
||||
return $this->searchForObjects($search, $objectType, $objectIds, $verb, $offset, $limit);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue