Skip to content

Commit

Permalink
Swap lastPostId and lastPostDate arguments when archiving a thread. F…
Browse files Browse the repository at this point in the history
…ixes bug #11398
  • Loading branch information
perlDreamer committed Feb 9, 2010
1 parent 7e33dd3 commit 8046cc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/changelog/7.x.x.txt
Expand Up @@ -15,6 +15,7 @@
- fixed #11396: WebGUI Workflow Cache Error.
- fixed #11393: Map template variables missing
- fixed #11336: Duplicate Version Tag Created.
- fixed #11398: Recent post information keeps disappearing from my forums

7.7.31
- fixed #11348: Typ-o in debug notice SQLReport
Expand Down
2 changes: 1 addition & 1 deletion lib/WebGUI/Asset/Post/Thread.pm
Expand Up @@ -51,7 +51,7 @@ sub archive {
$post->setStatusArchived;
}
my $cs = $self->getParent;
$cs->incrementThreads($cs->get("lastPostId"), $cs->get("lastPostDate"));
$cs->incrementThreads($cs->get("lastPostDate"), $cs->get("lastPostId"));
}

#-------------------------------------------------------------------
Expand Down

0 comments on commit 8046cc7

Please sign in to comment.