Fix Button, ConfirmDeletePage, WarningDialog templates

This commit is contained in:
2023-03-12 01:00:50 +01:00
parent 0325a2ec90
commit 01822cdccf
5 changed files with 8 additions and 8 deletions

View File

@@ -39,7 +39,7 @@ class ViewPhoto extends HTMLController
$page = new ConfirmDeletePage($photo->getImage());
$this->page->adopt($page);
}
else if (isset($_REQUEST['delete_confirmed']))
elseif (isset($_REQUEST['delete_confirmed']))
{
$album_url = $photo->getSubdir();
$photo->delete();