mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
webui: Updated remaining display options where we do not show sysName if hostname is IP (#6585)
* webui: Updated remaining display options where we do not show sysName if hostname is IP * renamed function + simplified
This commit is contained in:
committed by
Tony Murray
parent
1135bb9146
commit
34c35f3627
@@ -23,7 +23,7 @@ if ($_SESSION['userlevel'] < '10') {
|
||||
}
|
||||
|
||||
foreach (dbFetchRows('SELECT * FROM `devices` ORDER BY `hostname`') as $device) {
|
||||
$devicesform .= "<option value='".$device['device_id']."'>".$device['hostname'].'</option>';
|
||||
$devicesform .= "<option value='".$device['device_id']."'>".format_hostname($device).'</option>';
|
||||
}
|
||||
|
||||
if ($updated) {
|
||||
|
||||
Reference in New Issue
Block a user