fix: Cleanup printing ifAlias (#4874)

This commit is contained in:
Neil Lathwood
2016-12-12 14:25:48 +00:00
committed by GitHub
parent d3c6d82b21
commit 9b9c10e204
26 changed files with 32 additions and 33 deletions

View File

@@ -167,7 +167,7 @@ if ($_SESSION['userlevel'] >= '5') {
text-align: center; float: left; background-color: ".$list_colour_b_b.";'>
<div style='font-weight: bold;'>".makeshortif($port['ifDescr']).'</div>';
print_port_thumbnail($port);
echo "<div style='font-size: 9px;'>".substr(short_port_descr($port['ifAlias']), 0, 22).'</div>
echo "<div style='font-size: 9px;'>".substr(short_port_descr(display($port['ifAlias'])), 0, 22).'</div>
</div>';
break;