mirror of
https://github.com/nextcloud/server.git
synced 2026-04-01 07:07:19 -04:00
commit
83d46efefd
1 changed files with 1 additions and 1 deletions
|
|
@ -656,7 +656,7 @@ class Manager implements ICommentsManager {
|
|||
|
||||
$unreadComments = array_fill_keys($objectIds, 0);
|
||||
foreach (array_chunk($objectIds, 1000) as $chunk) {
|
||||
$query->setParameter('ids', $chunk, IQueryBuilder::PARAM_INT_ARRAY);
|
||||
$query->setParameter('ids', $chunk, IQueryBuilder::PARAM_STR_ARRAY);
|
||||
|
||||
$result = $query->executeQuery();
|
||||
while ($row = $result->fetch()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue