#10622 fix bug
This commit is contained in:
parent
e986ac27d6
commit
b83c8c6da6
|
@ -67,7 +67,7 @@ if (is_ajax() === true) {
|
||||||
|
|
||||||
$alerts = [];
|
$alerts = [];
|
||||||
foreach ($ids_policies as $policie) {
|
foreach ($ids_policies as $policie) {
|
||||||
foreach (policies_get_alerts($policie) as $row) {
|
foreach (policies_get_alerts($policie, ['id_policy_module' => '<>0']) as $row) {
|
||||||
$alerts[$row['id']] = io_safe_output(alerts_get_alert_template_name($row['id_alert_template']).' - '.policies_get_module_name($row['id_policy_module']));
|
$alerts[$row['id']] = io_safe_output(alerts_get_alert_template_name($row['id_alert_template']).' - '.policies_get_module_name($row['id_policy_module']));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue