diff --git a/controllers/ViewPhotoAlbum.php b/controllers/ViewPhotoAlbum.php index 56debc39..aa0f10a7 100644 --- a/controllers/ViewPhotoAlbum.php +++ b/controllers/ViewPhotoAlbum.php @@ -63,6 +63,7 @@ class ViewPhotoAlbum extends HTMLController $buttons = []; if (Registry::get('user')->isLoggedIn()) + { $buttons[] = [ 'url' => BASEURL . '/download/?tag=' . $id_tag, 'caption' => 'Download this album', @@ -72,6 +73,7 @@ class ViewPhotoAlbum extends HTMLController 'url' => BASEURL . '/uploadmedia/?tag=' . $id_tag, 'caption' => 'Upload new photos here', ]; + } if (Registry::get('user')->isAdmin()) $buttons[] = [ 'url' => BASEURL . '/addalbum/?tag=' . $id_tag,