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("