This commit is contained in:
Jonathan 2023-08-29 14:08:06 +02:00
parent e986ac27d6
commit b83c8c6da6
1 changed files with 1 additions and 1 deletions

View File

@ -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']));
} }
} }