#10819 Fixed policy alert img
This commit is contained in:
parent
061c9f8750
commit
eac71560cb
|
@ -1246,7 +1246,9 @@ function ui_format_alert_row(
|
|||
|
||||
$policyInfo = policies_is_alert_in_policy2($alert['id'], false);
|
||||
$module_linked = policies_is_module_linked($alert['id_agent_module']);
|
||||
if (is_array($policyInfo) === false && $module_linked === false) {
|
||||
if ((is_array($policyInfo) === false && $module_linked === false)
|
||||
|| (is_array($policyInfo) === false && $module_linked === '1')
|
||||
) {
|
||||
$data[$index['policy']] = '';
|
||||
} else {
|
||||
$module_linked = policies_is_module_linked($alert['id_agent_module']);
|
||||
|
|
Loading…
Reference in New Issue