Skip to content

Commit

Permalink
Issue 1521 : correction of separator problem
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@5924 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
laurent.duretz committed Apr 20, 2010
1 parent 335cbc9 commit ec85b24
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions include/functions_html.inc.php
Expand Up @@ -42,7 +42,7 @@ function get_cat_display_name($cat_informations,

//$output = '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>';
$output = '';
$is_first = true;
$is_first=true;

foreach ($cat_informations as $cat)
{
Expand All @@ -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) )
Expand Down

0 comments on commit ec85b24

Please sign in to comment.