aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-06-26 10:03:48 +0000
committermistic100 <mistic@piwigo.org>2011-06-26 10:03:48 +0000
commitf14d7f54b15e72a80ee3be5329c3a8ad78d9277c (patch)
tree03dabbb51ce09bbe86921ad10fdf621aa46a0830 /include
parent6416029da67d3c075f6d94174b017650f3f7fb58 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/functions_category.inc.php10
1 files changed, 7 insertions, 3 deletions
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
{