13463-Parse param to bool

This commit is contained in:
Pablo Aragon 2024-05-08 11:12:53 +02:00
parent 25d17fb990
commit f81fb85b19
1 changed files with 1 additions and 1 deletions

View File

@ -6192,7 +6192,7 @@ function reporting_alert_report_group($report, $content)
$agent_modules = alerts_get_agent_modules(
$content['id_group'],
(((string) $content['id_group'] === '0') ? true : $content['recursion'])
(((string) $content['id_group'] === '0') ? true : (bool) $content['recursion'])
);
if (empty($alerts)) {