mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
(legacy) handle empty interface description in interfaces_assign.php
This commit is contained in:
parent
dd47b8919f
commit
ccb91eb0ec
@ -405,7 +405,7 @@ include("head.inc");
|
||||
foreach ($config['interfaces'] as $ifname => $iface):?>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><u><span onclick="location.href='/interfaces.php?if=<?=$ifname;?>'" style="cursor: pointer;"><?=$iface['descr'];?></span></u></strong>
|
||||
<strong><u><span onclick="location.href='/interfaces.php?if=<?=$ifname;?>'" style="cursor: pointer;"><?=!empty($iface['descr']) ? $iface['descr'] : strtoupper($ifname);?></span></u></strong>
|
||||
</td>
|
||||
<td>
|
||||
<select name="<?=$ifname;?>" id="<?=$ifname;?>">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user