diff --git a/htdocs/categories/class/categorie.class.php b/htdocs/categories/class/categorie.class.php index 748a9501101..d5a2f76ecd5 100644 --- a/htdocs/categories/class/categorie.class.php +++ b/htdocs/categories/class/categorie.class.php @@ -1381,17 +1381,16 @@ class Categorie extends CommonObject } } - if ($url == '') - { + if ($url == '') { $link = ''; $linkend = ''; $w[] = $link.($addpicto ? img_object('', 'category', 'class="paddingright"') : '').$cat->label.$linkend; } elseif ($url == 'none') { - $link = ''; - $linkend = ''; + $link = ''; + $linkend = ''; $w[] = $link.($addpicto ? img_object('', 'category', 'class="paddingright"') : '').$cat->label.$linkend; } else { - $w[] = "".($addpicto ? img_object('', 'category') : '').$cat->label.""; + $w[] = ''.($addpicto ? img_object('', 'category') : '').$cat->label.''; } } $newcategwithpath = preg_replace('/toreplace/', $forced_color, implode($sep, $w));