mybb/mybb — pull request #1459 by JN-Jones (2014-09-19 12:47:33+00:00)
Title: Fixes #1458 Deleting post reputation doesn't work

#1458
Cleaned up the code a bit. `$existing_post_reputation` and `$existing_reputation` needed multiple check so I've removed the first and added a `$was_post` variable which can be checked if we need to make a difference.