Swap lastPostId and lastPostDate arguments when archiving a thread. Fixes bug #11398
This commit is contained in:
parent
fb3211aa3c
commit
924cc0de3a
2 changed files with 2 additions and 1 deletions
|
|
@ -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"));
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue