- HTML validation : get_html_tag_selection() must never return an empty list (<ul></ul>)

git-svn-id: http://piwigo.org/svn/trunk@1201 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
chrisaga
2006-04-18 22:57:05 +00:00
parent 3fb090ab18
commit 8e4c71c4bd
+4
View File
@@ -529,6 +529,10 @@ function get_html_tag_selection(
{
global $conf;
if (count ($tags) == 0 )
{
return '';
}
$output = '<ul class="tagSelection">';
foreach ($tags as $tag)
{