Commit 74f047e2 authored by Franco Fichtner's avatar Franco Fichtner

config: fix another crash report

(cherry picked from commit 6dcbac7a)
parent e7e2165e
...@@ -318,7 +318,7 @@ EOD; ...@@ -318,7 +318,7 @@ EOD;
$config['interfaces']['lan']['subnetv6'] = '64'; $config['interfaces']['lan']['subnetv6'] = '64';
} }
if (!is_array($config['dhcpd']['lan'])) { if (!isset($config['dhcpd']['lan'])) {
$config['dhcpd']['lan'] = array(); $config['dhcpd']['lan'] = array();
$config['dhcpd']['lan']['range'] = array(); $config['dhcpd']['lan']['range'] = array();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment