Commit a7bee644 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) fix crashreport " PHP Warning: Illegal string offset 'ifgroupentry'...

(legacy) fix crashreport " PHP Warning:  Illegal string offset 'ifgroupentry' in /usr/local/www/firewall_rules_edit.php on line 869"
parent 4f47312a
......@@ -866,7 +866,7 @@ include("head.inc");
<select name="interface" class="formselect" <?=$edit_disabled;?>>
<?php endif;
/* add group interfaces */
if (is_array($config['ifgroups']['ifgroupentry']))
if (isset($config['ifgroups']['ifgroupentry']))
foreach($config['ifgroups']['ifgroupentry'] as $ifgen)
if (have_ruleint_access($ifgen['ifname']))
$interfaces[$ifgen['ifname']] = $ifgen['ifname'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment