From f14d7f54b15e72a80ee3be5329c3a8ad78d9277c Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sun, 26 Jun 2011 10:03:48 +0000 Subject: merge r11512 form trunk bug:2361 fixed : remove html tags in categories drop-down lists git-svn-id: http://piwigo.org/svn/branches/2.2@11513 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_category.inc.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php index eeb0358eb..27a1ed472 100644 --- a/include/functions_category.inc.php +++ b/include/functions_category.inc.php @@ -317,9 +317,13 @@ function display_select_categories($categories, } if ($fullname) { - $option = get_cat_display_name_cache($category['uppercats'], - null, - false); + $option = strip_tags( + get_cat_display_name_cache( + $category['uppercats'], + null, + false + ) + ); } else { -- cgit v1.2.3