Fix visible   in sub-category names

This commit is contained in:
Nathan Gray 2012-03-02 19:38:31 +00:00
parent 8d523cad93
commit 119aa1c121

View File

@ -291,7 +291,7 @@ class etemplate_widget_menupopup extends etemplate_widget
// we cast $type4 (parent) to int, to get default of 0 if omitted
foreach((array)$categories->return_sorted_array(0,False,'','','',!$type,(int)$type4,true) as $cat)
{
$s = str_repeat(' ',$cat['level']) . stripslashes($cat['name']);
$s = str_repeat(html_entity_decode(' ', ENT_NOQUOTES,'utf-8'),$cat['level']) . stripslashes($cat['name']);
if (categories::is_global($cat))
{