Skip to content

Commit 86e7159

Browse files
Merge pull request #35206 from nextcloud/bugfix/noid/fix-forwarding-the-object-id
Fix forwarding the object id when searching comments
2 parents cad2e4d + 3f4fed3 commit 86e7159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Comments/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ protected function getLastKnownComment(string $objectType,
605605
public function search(string $search, string $objectType, string $objectId, string $verb, int $offset, int $limit = 50): array {
606606
$objectIds = [];
607607
if ($objectId) {
608-
$objectIds[] = $objectIds;
608+
$objectIds[] = $objectId;
609609
}
610610
return $this->searchForObjects($search, $objectType, $objectIds, $verb, $offset, $limit);
611611
}

0 commit comments

Comments
 (0)