diff --git a/html/includes/print-vlan.inc.php b/html/includes/print-vlan.inc.php index 2b452dc6c..962ec8d67 100644 --- a/html/includes/print-vlan.inc.php +++ b/html/includes/print-vlan.inc.php @@ -12,16 +12,16 @@ foreach (dbFetchRows("SELECT * FROM ports WHERE `device_id` = ? AND `ifVlan` = ? { if ($vars['view']) { - $graph_type = $vars['view']; + $graph_type = 'port_' . $vars['view']; echo("
".makeshortif($port['ifDescr'])."
".$device['hostname']." - ".$port['ifDescr']."
\ ".$port['ifAlias']." \ - \ + \ ', CENTER, LEFT, FGCOLOR, '#e5e5e5', BGCOLOR, '#e5e5e5', WIDTH, 400, HEIGHT, 150);\" onmouseout=\"return nd();\" >". - " + "
".truncate(short_port_descr($port['ifAlias']), 22, '')."
");