Project

General

Profile

Bug #273 ยป dhcpconfig.diff

mike wixon, 01/04/2010 07:20 AM

View differences:

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}"]);
    (1-1/1)