From 4dccf2577668877844e193c92778215d0316fb4a Mon Sep 17 00:00:00 2001 From: "laurent.duretz" Date: Thu, 22 Apr 2010 13:11:32 +0000 Subject: Issue 1521 : report trunk on branch 2.0 git-svn-id: http://piwigo.org/svn/branches/2.0@5938 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_html.inc.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'include/functions_html.inc.php') diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index afdf41952..8ea174076 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -239,7 +239,8 @@ function get_cat_display_name($cat_informations, { global $conf; - $output = ''.l10n('no_category').''; + $output = ''; + $is_first = true; foreach ($cat_informations as $cat) { @@ -253,7 +254,14 @@ function get_cat_display_name($cat_informations, 'get_cat_display_name' ); - $output.= $conf['level_separator']; + if ($is_first) + { + $is_first=false; + } + else + { + $output.= $conf['level_separator']; + } if ( !isset($url) ) { -- cgit v1.2.3