From f81fb85b19b503260586d9cdec5474f93ec1d0eb Mon Sep 17 00:00:00 2001 From: Pablo Aragon Date: Wed, 8 May 2024 11:12:53 +0200 Subject: [PATCH] 13463-Parse param to bool --- pandora_console/include/functions_reporting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 4d4ec989c8..3ddead45bf 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -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)) {