mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Fix uncaught TypeError: explode()
This commit is contained in:
parent
e6d4f761bd
commit
54aca14d2c
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ if (isset($interface)) {
|
|||
$conf = ParseConfig($return);
|
||||
|
||||
$dhcpdata['DHCPEnabled'] = empty($conf) ? false : true;
|
||||
$arrRange = explode(",", $conf['dhcp-range']);
|
||||
$arrRange = explode(",", $conf['dhcp-range'][0]);
|
||||
$dhcpdata['RangeStart'] = $arrRange[0];
|
||||
$dhcpdata['RangeEnd'] = $arrRange[1];
|
||||
$dhcpdata['RangeMask'] = $arrRange[2];
|
||||
|
|
Loading…
Reference in a new issue