mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
dhcp: fix a crash report
This commit is contained in:
parent
457077686e
commit
c2e0d912f6
@ -446,7 +446,7 @@ endif;?>
|
||||
foreach ($leases as $data):
|
||||
if ($data['act'] == "static") {
|
||||
foreach ($config['dhcpdv6'] as $dhcpif => $dhcpifconf) {
|
||||
if (is_array($dhcpifconf['staticmap'])) {
|
||||
if (isset($dhcpifconf['staticmap'])) {
|
||||
foreach ($dhcpifconf['staticmap'] as $staticent) {
|
||||
if ($data['ip'] == $staticent['ipaddr']) {
|
||||
$data['int'] = htmlspecialchars($interfaces[$dhcpif]['descr']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user