Commit 8f243538 authored by Franco Fichtner's avatar Franco Fichtner

consistent fix for 64f3742f

parent 86996d7b
...@@ -274,7 +274,7 @@ function easyrule_pass_rule_add($int, $proto, $srchost, $dsthost, $dstport, $ipp ...@@ -274,7 +274,7 @@ function easyrule_pass_rule_add($int, $proto, $srchost, $dsthost, $dstport, $ipp
global $config; global $config;
/* No rules, start a new array */ /* No rules, start a new array */
if (empty($config['filter']['rule'])) { if (!isset($config['filter']['rule'])) {
$config['filter']['rule'] = array(); $config['filter']['rule'] = array();
} }
......
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