mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
do not display 0 tags found
This commit is contained in:
@@ -459,10 +459,14 @@ SELECT
|
||||
);
|
||||
$tags_found[] = sprintf('<a href="%s">%s</a>', $url, $tag['name']);
|
||||
}
|
||||
|
||||
if (count($tags_found) > 0)
|
||||
{
|
||||
$template->assign('TAGS_FOUND', $tags_found);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ('categories' == $page['section'] and isset($page['category']) and !isset($page['combined_categories']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user