mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Cleanup printing ifAlias (#4874)
This commit is contained in:
@ -605,7 +605,7 @@ function generate_port_link($port, $text = null, $type = null, $overlib = 1, $si
|
||||
|
||||
$content = '<div class=list-large>'.$port['hostname'].' - '.fixifName($port['label']).'</div>';
|
||||
if ($port['ifAlias']) {
|
||||
$content .= escape_quotes($port['ifAlias']).'<br />';
|
||||
$content .= display($port['ifAlias']).'<br />';
|
||||
}
|
||||
|
||||
$content .= "<div style=\'width: 850px\'>";
|
||||
@ -856,7 +856,7 @@ function generate_ap_link($args, $text = null, $type = null)
|
||||
|
||||
$content = '<div class=list-large>'.$args['text'].' - '.fixifName($args['label']).'</div>';
|
||||
if ($args['ifAlias']) {
|
||||
$content .= $args['ifAlias'].'<br />';
|
||||
$content .= display($args['ifAlias']).'<br />';
|
||||
}
|
||||
|
||||
$content .= "<div style=\'width: 850px\'>";
|
||||
|
Reference in New Issue
Block a user