mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:38:08 +08:00
Prevent unapproved discussions from dropping to the bottom of the discussion list
This commit is contained in:
parent
0b3a4264a3
commit
48be5ac2eb
@ -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…
x
Reference in New Issue
Block a user