diff --git a/admin-dev/functions.php b/admin-dev/functions.php index 85d5b82ae..0b9b8a922 100644 --- a/admin-dev/functions.php +++ b/admin-dev/functions.php @@ -452,11 +452,15 @@ if ($adminObj = checkingTab($tab)) $tabs = array_reverse($tabs); $bread = ''; foreach ($tabs AS $key => $item) - $bread .= ' > - '.((sizeof($tabs) - 1 > $key) - ? '' - : '').' - '.$item['name'].((sizeof($tabs) - 1 > $key) ? '' : ''); + { + $bread .= ' >'; + if (count($tabs) - 1 > $key) + $bread .= ''; + + $bread .= $item['name']; + if (count($tabs) - 1 > $key) + $bread .= ''; + } // @TODO : a way to desactivate this feature echo'