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
|
|
@ -7,6 +7,7 @@
|
||||||
- fixed #11396: WebGUI Workflow Cache Error.
|
- fixed #11396: WebGUI Workflow Cache Error.
|
||||||
- fixed #11393: Map template variables missing
|
- fixed #11393: Map template variables missing
|
||||||
- fixed #11336: Duplicate Version Tag Created.
|
- fixed #11336: Duplicate Version Tag Created.
|
||||||
|
- fixed #11398: Recent post information keeps disappearing from my forums
|
||||||
|
|
||||||
7.8.11
|
7.8.11
|
||||||
- fixed #11362: Unable to checkout with ITransact plugin
|
- fixed #11362: Unable to checkout with ITransact plugin
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ sub archive {
|
||||||
$post->setStatusArchived;
|
$post->setStatusArchived;
|
||||||
}
|
}
|
||||||
my $cs = $self->getParent;
|
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