From 53eefd49581c6d55d6254717fcb3580f0cd87f18 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 29 Mar 2016 15:42:23 +0200 Subject: [PATCH] (dhcpv6) isset vs !empty --- src/www/services_dhcpv6.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/services_dhcpv6.php b/src/www/services_dhcpv6.php index 7dd83edc6..2f5fc2a54 100644 --- a/src/www/services_dhcpv6.php +++ b/src/www/services_dhcpv6.php @@ -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}");