From ec2d71edbcc3d11b8d36be42b8825640be1a1317 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Tue, 27 Sep 2011 10:15:56 +0000 Subject: [PATCH] fix vlan page graphs git-svn-id: http://www.observium.org/svn/observer/trunk@2594 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/print-vlan.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, '')."
");