I just discovered a bug in this that comes from a typo.
In the code for move a post and replies I have:
<INPUT TYPE=HIDDEN NAME="oldboard" value="$board">
This should be:
<INPUT TYPE=HIDDEN NAME="oldboard" value="$Board">
The domovepost.php doesn't check that the value is given. So when it goes to update the post total and last post in the forum it doesn't update anything because the old board value is "" and won't be found.
I came across this problem when adding this to domovepost to track the forum a post is being moved from:
admin_log("MOVEPOST", $oldboard."->".$Keyword." ".$moved);
Some moves (as a result to using the delete/move button) wouldnt' have a oldboard value.