diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index 4f5ee4191a..172593eda8 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -309,7 +309,8 @@ if ($_POST) { // Handle the custom options rowhelper $numbervalue = array(); - unset($config['dhcpd'][$if]['numberoptions']['item']); + if(isset($config['dhcpd'][$if]['numberoptions']['item'])) + unset($config['dhcpd'][$if]['numberoptions']['item']); for($x=0; $x