diff --git a/controllers/ViewPhotoAlbum.php b/controllers/ViewPhotoAlbum.php index 519ef30..ff188a3 100644 --- a/controllers/ViewPhotoAlbum.php +++ b/controllers/ViewPhotoAlbum.php @@ -50,7 +50,9 @@ class ViewPhotoAlbum extends HTMLController $filters = []; if (!empty($contributors)) { - $filters[''] = ['id_user' => null, 'caption' => 'Show all photos', 'link' => $tag->getUrl()]; + $filters[''] = ['id_user' => null, 'label' => '', 'caption' => 'Show all photos', + 'link' => $tag->getUrl()]; + foreach ($contributors as $contributor) { $filters[$contributor['slug']] = [