Bug #273 ยป dhcpconfig.diff
| services_dhcp.php 2010-01-03 18:10:03.000000000 -0500 | ||
|---|---|---|
| 309 | 309 | |
| 310 | 310 |
// Handle the custom options rowhelper |
| 311 | 311 |
$numbervalue = array(); |
| 312 |
unset($config['dhcpd'][$if]['numberoptions']['item']); |
|
| 312 |
if ( isset($config['dhcpd'][$if]['numberoptions']['item'])) |
|
| 313 |
unset($config['dhcpd'][$if]['numberoptions']['item']); |
|
| 313 | 314 |
for($x=0; $x<isset($_POST["number{$x}"]); $x++) {
|
| 314 | 315 |
if(is_int(intval($_POST["number{$x}"]))) {
|
| 315 | 316 |
$numbervalue['number'] = htmlspecialchars($_POST["number{$x}"]);
|