Allow users to filter albums by contributors #48
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user