diff --git a/src/Core/Models/Post.php b/src/Core/Models/Post.php index 24e63bebc..ba2f59ca2 100755 --- a/src/Core/Models/Post.php +++ b/src/Core/Models/Post.php @@ -58,7 +58,6 @@ class Post extends Model parent::boot(); static::creating(function ($post) { - $post->type = $post::$type; $post->number = ++$post->discussion->number_index; $post->discussion->save(); });