diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/services.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 2cb6988..08f57ce 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -114,7 +114,7 @@ function services_dhcpd_configure() { $optcounter = 0; $custoptions = ""; foreach ($dhcpdcfg as $dhcpif => $dhcpifconf) { - if($dhcpifconf['numberoptions']['item']) { + if(is_array($dhcpifconf['numberoptions']) && is_array($dhcpifconf['numberoptions']['item'])) { foreach($dhcpifconf['numberoptions']['item'] as $item) { $custoptions .= "option custom-opt-$optcounter code {$item['number']} = text;\n"; $optcounter++; |