Index: html/includes/graphs/multiport/bits.inc.php =================================================================== --- html/includes/graphs/multiport/bits.inc.php (revision 5622) +++ html/includes/graphs/multiport/bits.inc.php (working copy) @@ -12,7 +12,7 @@ $ifid = str_replace("!", "", $ifid); } - $int = dbFetchRow("SELECT `ifIndex`, `hostname` FROM `ports` AS I, devices as D WHERE I.port_id = ? AND I.device_id = D.device_id", array($ifid)); + $int = dbFetchRow("SELECT `ifIndex`, `hostname`, D.`device_id` FROM `ports` AS I, devices as D WHERE I.port_id = ? AND I.device_id = D.device_id", array($ifid)); $rrdfile = get_port_rrdfilename($int, NULL, TRUE); if (is_file($rrdfile)) {