fix comment statistics

This commit is contained in:
Milan
2019-10-17 20:13:14 +02:00
parent 72b0408515
commit c93b394307

View File

@@ -509,7 +509,7 @@ sub set_lock_status ($$$) {
my $comments = db::get( $dbh, $query, $bind_values );
if ( scalar @$comments > 0 ) {
$comment->{event_id} = $comments->[0]->{event_id};
update_comment_count( $dbh, $comment );
update_comment_count( $dbh, $config, $comment );
}
}