diff --git a/framework/core/src/Discussion/Discussion.php b/framework/core/src/Discussion/Discussion.php index 7cfb7699e3..87d88ff6d2 100644 --- a/framework/core/src/Discussion/Discussion.php +++ b/framework/core/src/Discussion/Discussion.php @@ -121,6 +121,10 @@ public static function start(?string $title, User $user, ?self $model = null): s { $discussion = $model ?? new static; + if ($title) { + $discussion->title = $title; + } + $discussion->created_at = Carbon::now(); $discussion->user_id = $user->id;