Merge pull request #28478 from jzombi/patch-1

Fix SQL type error
pull/28532/head
Joas Schilling 2021-08-20 11:47:27 +07:00 committed by GitHub
commit 83d46efefd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()) {