Issue 1521 : correction of separator problem
git-svn-id: http://piwigo.org/svn/trunk@5924 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
335cbc9540
commit
ec85b24529
1 changed files with 7 additions and 4 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
@ -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) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue