New bootstrap-based layout #30

Merged
Roflin merged 79 commits from bootstrap into master 2023-03-14 19:11:25 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 544944a7f5 - Show all commits

View File

@ -152,7 +152,7 @@ class EditAlbum extends HTMLController
if (isset($_POST['changeThumbnail'])) if (isset($_POST['changeThumbnail']))
$this->processThumbnail($album); $this->processThumbnail($album);
elseif (!empty($_POST)) elseif (!empty($_POST))
$this->processTagDetails($form, $id_tag, $album); $this->processTagDetails($form, $id_tag, $album ?? null);
} }
private function processThumbnail($tag) private function processThumbnail($tag)

View File

@ -130,7 +130,7 @@ class EditTag extends HTMLController
if (isset($_POST['changeThumbnail'])) if (isset($_POST['changeThumbnail']))
$this->processThumbnail($tag); $this->processThumbnail($tag);
elseif (!empty($_POST)) elseif (!empty($_POST))
$this->processTagDetails($form, $id_tag, $tag); $this->processTagDetails($form, $id_tag, $tag ?? null);
} }
private function processThumbnail($tag) private function processThumbnail($tag)