aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_category.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_category.inc.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index 721cc0038..0bca0897a 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -288,7 +288,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'
+ )
+ );
}
$tpl_cats[ $category['id'] ] = $option;
}