- Affected version
- 2.1.2
It
I believe the line;
Should be;
Note; I don't believe this code-path is actually triggered in stock XF
_postSave()
it looks like the reaction score is not being removed from the previous user as expected.I believe the line;
PHP:
$this->adjustUserReactionScore($this->getExistingValue('content_user_id'), $reactionScore);
PHP:
$this->adjustUserReactionScore($this->getExistingValue('content_user_id'), $this->getExistingValue('is_counted') ? -$reactionScore : $reactionScore);
Note; I don't believe this code-path is actually triggered in stock XF
Last edited: