diff --git a/src/Platform/Http/Controllers/AttachmentController.php b/src/Platform/Http/Controllers/AttachmentController.php index 3b8eaa3ec..b843ce9bf 100644 --- a/src/Platform/Http/Controllers/AttachmentController.php +++ b/src/Platform/Http/Controllers/AttachmentController.php @@ -71,7 +71,7 @@ public function update(string $id, Request $request) { $attachment = $this->attachment ->findOrFail($id) - ->fill($request->all()); + ->fill($request->except(['id'])); $attachment->save();