Skip to content

Commit 19be025

Browse files
authored
Merge pull request #553 from pupi1985/patch-93
Fix points recalculation when turning answers to comments
2 parents b9ccbef + f2790d9 commit 19be025

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

qa-include/app/post-update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ function qa_answer_to_comment($oldanswer, $parentid, $content, $format, $text, $
10131013

10141014
qa_update_q_counts_for_a($question['postid']);
10151015
qa_db_ccount_update();
1016-
qa_db_points_update_ifuser($oldanswer['userid'], array('aposts', 'aselecteds', 'cposts', 'avoteds'));
1016+
qa_db_points_update_ifuser($oldanswer['userid'], array('aposts', 'aselecteds', 'cposts', 'avoteds', 'cvoteds'));
10171017

10181018
$useridvotes = qa_db_uservote_post_get($oldanswer['postid']);
10191019
foreach ($useridvotes as $voteruserid => $vote) {

0 commit comments

Comments
 (0)