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