diff options
Diffstat (limited to 'include/functions_category.inc.php')
-rw-r--r-- | include/functions_category.inc.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php index c598c30f5..cf9415400 100644 --- a/include/functions_category.inc.php +++ b/include/functions_category.inc.php @@ -296,7 +296,14 @@ function display_select_categories($categories, { $option = str_repeat(' ', (3 * substr_count($category['global_rank'], '.'))); - $option.= '- '.$category['name']; + $option.= '- '; + $option.= strip_tags( + trigger_event( + 'render_category_name', + $category['name'], + 'display_select_categories' + ) + ); } $template->assign_block_vars( |