diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index 5aa512685..3cd429cea 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -411,25 +411,29 @@ function get_tags_content_title() .$page['tags'][$i]['name'] .''; - if ( count($page['tags'])>2 ) + $remove_url = null; + if (count($page['tags']) == 1) + { + $remove_url = get_root_url().'tags.php'; + } + else { $other_tags = $page['tags']; - unset ( $other_tags[$i] ); - $title.= - 'x' - .''; + ); } - + + $title.= + 'x' + .''; } return $title; }