diff --git a/app/Http/Controllers/Admin/PostsController.php b/app/Http/Controllers/Admin/PostsController.php index dd034ec..5d91819 100644 --- a/app/Http/Controllers/Admin/PostsController.php +++ b/app/Http/Controllers/Admin/PostsController.php @@ -119,6 +119,7 @@ public function update(PostStoreRequest $request, Post $post) DB::beginTransaction(); try { $data = $this->getValidatedData($request); + unset($data['author_id']); $post->update($data); $this->saveCategories($request, $post);