Fix #2186 type error when unexpected values are passed to columnList

This commit is contained in:
Kijin Sung 2023-09-26 20:08:08 +09:00
parent a4b49048f3
commit 9ca2c94fe4
3 changed files with 4 additions and 2 deletions

View file

@ -291,7 +291,7 @@ class CommentModel extends Comment
$args->statusList = $statusList;
}
$output = executeQuery('comment.getCommentCount', $args, NULL);
$output = executeQuery('comment.getCommentCount', $args);
$total_count = $output->data->count;
return (int) $total_count;