mirror of
https://github.com/flarum/framework.git
synced 2025-01-21 21:45:32 +08:00
Prevent unapproved discussions from dropping to the bottom of the discussion list
This commit is contained in:
parent
36cf744e2a
commit
d4fd71aaff
|
@ -92,6 +92,7 @@ class StartDiscussionHandler
|
|||
// last_time.)
|
||||
$discussion->setRawAttributes($post->discussion->getAttributes(), true);
|
||||
$discussion->setStartPost($post);
|
||||
$discussion->setLastPost($post);
|
||||
|
||||
$this->dispatchEventsFor($discussion, $actor);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user