mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
(dhcpv6) isset vs !empty
This commit is contained in:
parent
1747924436
commit
53eefd4958
@ -444,7 +444,7 @@ include("head.inc");
|
||||
/* active tabs */
|
||||
$tab_array_main = array();
|
||||
foreach ($config['interfaces'] as $if_id => $intf) {
|
||||
if (!empty($intf['enable']) && isset($intf['ipaddrv6']) && is_ipaddrv6($intf['ipaddrv6'])) {
|
||||
if (isset($intf['enable']) && isset($intf['ipaddrv6']) && is_ipaddrv6($intf['ipaddrv6'])) {
|
||||
$ifname = !empty($intf['descr']) ? htmlspecialchars($intf['descr']) : strtoupper($if_id);
|
||||
if ($if_id == $if) {
|
||||
$tab_array_main[] = array($ifname, true, "services_dhcpv6.php?if={$if_id}");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user