diff --git a/includes/html/pages/device/port.inc.php b/includes/html/pages/device/port.inc.php index ee48c82e27..5d08a0c47d 100644 --- a/includes/html/pages/device/port.inc.php +++ b/includes/html/pages/device/port.inc.php @@ -79,7 +79,7 @@ $menu_options['realtime'] = 'Real time'; $menu_options['arp'] = 'ARP Table'; $menu_options['fdb'] = 'FDB Table'; $menu_options['events'] = 'Eventlog'; -$menu_options['notes'] = 'Notes'; +$menu_options['notes'] = (get_dev_attrib($device, 'port_id_notes:' . $port->port_id) ?? '') == '' ? 'Notes' : 'Notes*'; if (dbFetchCell("SELECT COUNT(*) FROM `sensors` WHERE `device_id` = ? AND `entPhysicalIndex` = ? AND entPhysicalIndex_measured = 'ports'", [$device['device_id'], $port->ifIndex])) { $menu_options['sensors'] = 'Health';