From 8e4c71c4bdac0d4914c7b631b1ff34b90fcb9211 Mon Sep 17 00:00:00 2001 From: chrisaga Date: Tue, 18 Apr 2006 22:57:05 +0000 Subject: - HTML validation : get_html_tag_selection() must never return an empty list () git-svn-id: http://piwigo.org/svn/trunk@1201 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_html.inc.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/functions_html.inc.php') 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 = '