aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-04-18 22:57:57 +0000
committerchrisaga <chrisaga@piwigo.org>2006-04-18 22:57:57 +0000
commit4c4faad39c987ff3bb7e691b7e7e910cd9058f94 (patch)
treea04bc890452cc4b3d6c1b15866e9dba51384490d
parent463c45099c441d08129b37c466f00054634f0841 (diff)
- merge trunc r1200:1201 into branch 1.6 (HTML validation)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1202 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/functions_html.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index b217f01d9..3afed2322 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -529,6 +529,10 @@ function get_html_tag_selection(
{
global $conf;
+ if (count ($tags) == 0 )
+ {
+ return '';
+ }
$output = '<ul class="tagSelection">';
foreach ($tags as $tag)
{