diff --git a/html/pages/routing.inc.php b/html/pages/routing.inc.php index d70cf86ce0..cf2d4d69d5 100644 --- a/html/pages/routing.inc.php +++ b/html/pages/routing.inc.php @@ -23,15 +23,19 @@ foreach ($routing_count as $type => $value) { if (!$vars['protocol']) { $vars['protocol'] = $type; } - echo($sep); + echo($sep); unset($sep); if ($vars['protocol'] == $type) { echo(''); } - echo(generate_link($type_text[$type] ." (".$routing_count[$type].")",array('page'=> 'routing', 'protocol' => $type))); + if ($routing_count[$type]) + { + echo(generate_link($type_text[$type] ." (".$routing_count[$type].")",array('page'=> 'routing', 'protocol' => $type))); + $sep = " | "; + } + if ($vars['protocol'] == $type) { echo(""); } - $sep = " | "; } print_optionbar_end();