diff --git a/framework/core/src/Core/Models/Post.php b/framework/core/src/Core/Models/Post.php index 24e63bebc..ba2f59ca2 100755 --- a/framework/core/src/Core/Models/Post.php +++ b/framework/core/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(); });