diff --git a/app/Http/Controllers/Admin/AlbumController.php b/app/Http/Controllers/Admin/AlbumController.php index ab556e7..9377fce 100644 --- a/app/Http/Controllers/Admin/AlbumController.php +++ b/app/Http/Controllers/Admin/AlbumController.php @@ -226,7 +226,7 @@ class AlbumController extends Controller $this->authorize('admin-access'); $album = $this->loadAlbum($id); - $album->fill(['name', 'description']); + $album->fill($request->only(['name', 'description'])); $album->is_private = (strtolower($request->get('is_private')) == 'on'); // These keys are optional and may or may not be in the request, depending on the page requesting it