aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-06-26 10:02:12 +0000
committermistic100 <mistic@piwigo.org>2011-06-26 10:02:12 +0000
commit4099c6146ac3134910e9adf0be0cda223c720caf (patch)
tree9c01901cc1cb450daa37590d5a2ab87b90e2440b /include
parentd9f8479cdfc4b7108c116f42e7bd7e152533b970 (diff)
bug:2361 fixed : remove html tags in categories drop-down lists
git-svn-id: http://piwigo.org/svn/trunk@11512 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 1b9db5a4c..30cf7d2e7 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -320,9 +320,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
{