Swap lastPostId and lastPostDate arguments when archiving a thread. Fixes bug #11398

This commit is contained in:
Colin Kuskie 2010-02-09 14:48:06 -08:00
parent fb3211aa3c
commit 924cc0de3a
2 changed files with 2 additions and 1 deletions

View file

@ -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"));
}
#-------------------------------------------------------------------