diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-08-20 21:59:05 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-08-20 21:59:05 -0400 |
commit | d72b41141d756b91ca98378ff2c13e230898eb9e (patch) | |
tree | e3db303b796cfb8861c833e305356485dcac9458 /usr/local/www | |
parent | c7820b65b3a8c8876f5337524b762ce21fb94615 (diff) | |
download | pfsense-d72b41141d756b91ca98378ff2c13e230898eb9e.zip pfsense-d72b41141d756b91ca98378ff2c13e230898eb9e.tar.gz |
Misc comments
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/services_dhcp.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index b198e58..975e399 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -296,6 +296,7 @@ if ($_POST) { $config['dhcpd'][$if]['filename'] = $_POST['filename']; $config['dhcpd'][$if]['rootpath'] = $_POST['rootpath']; + // Handle the custom options rowhelper $numbervalue = array(); unset($config['dhcpd'][$if]['numberoptions']['item']); for($x=0; $x<isset($_POST["number{$x}"]); $x++) { @@ -305,6 +306,8 @@ if ($_POST) { $config['dhcpd'][$if]['numberoptions']['item'][] = $numbervalue; } } + + // Reload the new pconfig variable that the forum uses. $pconfig['numberoptions'] = $config['dhcpd'][$if]['numberoptions']; write_config(); |