Commit df89d15e authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

fix typos

(cherry picked from commit 3ccabbaa)
parent 03557fcc
...@@ -180,11 +180,11 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { ...@@ -180,11 +180,11 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
} }
} }
// handle booleans // handle booleans
$dhcpdconf['enable'] = isset($pconfig['enabled']); $pconfig['enable'] = isset($dhcpdconf['enabled']);
$dhcpdconf['staticarp'] = isset($dhcpdconf['staticarp']); $pconfig['staticarp'] = isset($dhcpdconf['staticarp']);
$dhcpdconf['denyunknown'] = isset($dhcpdconf['denyunknown']); $pconfig['denyunknown'] = isset($dhcpdconf['denyunknown']);
$dhcpdconf['ddnsupdate'] = isset($dhcpdconf['ddnsupdate']); $pconfig['ddnsupdate'] = isset($dhcpdconf['ddnsupdate']);
$dhcpdconf['netboot'] = isset($dhcpdconf['netboot']); $pconfig['netboot'] = isset($dhcpdconf['netboot']);
// array conversions // array conversions
$pconfig['numberoptions'] = !empty($pconfig['numberoptions']) ? $pconfig['numberoptions'] : array(); $pconfig['numberoptions'] = !empty($pconfig['numberoptions']) ? $pconfig['numberoptions'] : 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