mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
(legacy) crashreport PHP Warning: in_array() expects parameter 2 to be array, null given in /usr/local/www/services_dhcpv6_relay.php on line 162
This commit is contained in:
parent
b8654e7ba8
commit
a98c3fd080
@ -159,7 +159,7 @@ function enable_change(enable_over) {
|
||||
if (!is_ipaddrv6(get_interface_ipv6($ifent)))
|
||||
continue;
|
||||
echo "<option value=\"{$ifent}\"";
|
||||
if (in_array($ifent, $pconfig['interface']))
|
||||
if (!empty($pconfig['interface']) && in_array($ifent, $pconfig['interface']))
|
||||
echo " selected=\"selected\"";
|
||||
echo ">{$ifdesc}</option>\n";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user