mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 17:44:41 +00:00
(crashreport) PHP Warning: Illegal string offset 'rule' in /usr/local/www/diag_logs_filter.php on line 277
This commit is contained in:
parent
2f741d7ad4
commit
64f3742fb3
@ -274,7 +274,7 @@ function easyrule_pass_rule_add($int, $proto, $srchost, $dsthost, $dstport, $ipp
|
||||
global $config;
|
||||
|
||||
/* No rules, start a new array */
|
||||
if (!is_array($config['filter']['rule'])) {
|
||||
if (empty($config['filter']['rule'])) {
|
||||
$config['filter']['rule'] = array();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user