ViewPhotoAlbum: drop 'Show' from empty filter caption

This commit is contained in:
Aaron van Geffen 2024-01-15 13:41:51 +01:00
parent bb81f7e086
commit c0dd2cbd49
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class ViewPhotoAlbum extends HTMLController
$filters = []; $filters = [];
if (!empty($contributors)) if (!empty($contributors))
{ {
$filters[''] = ['id_user' => null, 'label' => '', 'caption' => 'Show all photos', $filters[''] = ['id_user' => null, 'label' => '', 'caption' => 'All photos',
'link' => $tag->getUrl()]; 'link' => $tag->getUrl()];
foreach ($contributors as $contributor) foreach ($contributors as $contributor)