diff --git a/controllers/EditAlbum.php b/controllers/EditAlbum.php index eb7a4c9..280803c 100644 --- a/controllers/EditAlbum.php +++ b/controllers/EditAlbum.php @@ -81,11 +81,6 @@ class EditAlbum extends HTMLController 'label' => 'Parent album', 'options' => $parentChoices, ], - 'id_asset_thumb' => [ - 'type' => 'numeric', - 'label' => 'Thumbnail asset ID', - 'is_optional' => true, - ], 'tag' => [ 'type' => 'text', 'label' => 'Album title', @@ -115,9 +110,6 @@ class EditAlbum extends HTMLController 'limit' => 500, 'id_tag' => $id_tag, ], true); - - if ($num_assets > 0) - unset($fields['id_asset_thumb']); } $this->form = new Form([