From ec85b2452929066c69d9453b098e83582d88521e Mon Sep 17 00:00:00 2001 From: "laurent.duretz" Date: Tue, 20 Apr 2010 07:05:58 +0000 Subject: Issue 1521 : correction of separator problem git-svn-id: http://piwigo.org/svn/trunk@5924 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_html.inc.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'include/functions_html.inc.php') diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index 6e97d0054..0ab3aae42 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -42,7 +42,7 @@ function get_cat_display_name($cat_informations, //$output = ''.l10n('Home').''; $output = ''; - $is_first = true; + $is_first=true; foreach ($cat_informations as $cat) { @@ -55,11 +55,14 @@ function get_cat_display_name($cat_informations, $cat['name'], 'get_cat_display_name' ); - - if (!$is_first) + + if ($is_first) + { + $is_first=false; + } + else { $output.= $conf['level_separator']; - $is_first = false; } if ( !isset($url) ) -- cgit v1.2.3