mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 07:39:23 -04:00
Fix forwarding the object id when searching comments
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
5efabd1fa9
commit
3b3048e403
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