Prevent unapproved discussions from dropping to the bottom of the discussion list

This commit is contained in:
Toby Zerner 2016-03-29 17:53:07 +10:30
parent 36cf744e2a
commit d4fd71aaff

View File

@ -92,6 +92,7 @@ class StartDiscussionHandler
// last_time.)
$discussion->setRawAttributes($post->discussion->getAttributes(), true);
$discussion->setStartPost($post);
$discussion->setLastPost($post);
$this->dispatchEventsFor($discussion, $actor);