diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-11-22 14:56:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-22 14:56:48 +0100 |
commit | 86e7159d82abf250f500b365e3ad7bb6fd4405d2 (patch) | |
tree | b0f17c077d7fa43c5274d6f78f34674634d4951b /lib | |
parent | cad2e4d341ebbcfd2045a93ba66d709ea08e3a9c (diff) | |
parent | 3f4fed35504548801230e49d050c758209fa0368 (diff) | |
download | nextcloud-server-86e7159d82abf250f500b365e3ad7bb6fd4405d2.tar.gz nextcloud-server-86e7159d82abf250f500b365e3ad7bb6fd4405d2.zip |
Merge pull request #35206 from nextcloud/bugfix/noid/fix-forwarding-the-object-id
Fix forwarding the object id when searching comments
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Comments/Manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Comments/Manager.php b/lib/private/Comments/Manager.php index 53603e51e56..3eb9aab6817 100644 --- a/lib/private/Comments/Manager.php +++ b/lib/private/Comments/Manager.php @@ -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); } |