mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Catch up with php5
This commit is contained in:
parent
bedd946f59
commit
c71f5fcda8
@ -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++;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user