mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
consistent fix for 64f3742fb3
This commit is contained in:
parent
86996d7bf7
commit
8f243538ad
@ -274,7 +274,7 @@ function easyrule_pass_rule_add($int, $proto, $srchost, $dsthost, $dstport, $ipp
|
||||
global $config;
|
||||
|
||||
/* No rules, start a new array */
|
||||
if (empty($config['filter']['rule'])) {
|
||||
if (!isset($config['filter']['rule'])) {
|
||||
$config['filter']['rule'] = array();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user