diff --git a/pandora_console/godmode/massive/massive_add_policies_alerts.php b/pandora_console/godmode/massive/massive_add_policies_alerts.php index b1f289a3e3..13bd8819ba 100644 --- a/pandora_console/godmode/massive/massive_add_policies_alerts.php +++ b/pandora_console/godmode/massive/massive_add_policies_alerts.php @@ -134,7 +134,7 @@ $table->data[0][0] = html_print_label_input_block( $table->data[0][1] = html_print_label_input_block( __('Group recursion'), - html_print_checkbox('recursion', 1, $recursion, true, false, '', true) + html_print_checkbox('recursion', 1, ($recursion ?? false), true, false, '', true) ); $arr_policies = policies_get_policies(); diff --git a/pandora_console/godmode/massive/massive_add_policies_alerts_action_external.php b/pandora_console/godmode/massive/massive_add_policies_alerts_action_external.php index 177af408f1..32efc15606 100644 --- a/pandora_console/godmode/massive/massive_add_policies_alerts_action_external.php +++ b/pandora_console/godmode/massive/massive_add_policies_alerts_action_external.php @@ -138,7 +138,7 @@ $table->data[0][0] = html_print_label_input_block( $table->data[0][1] = html_print_label_input_block( __('Group recursion'), - html_print_checkbox('recursion', 1, $recursion, true, false, '', true) + html_print_checkbox('recursion', 1, ($recursion ?? false), true, false, '', true) ); $arr_policies = policies_get_policies(); diff --git a/pandora_console/godmode/massive/massive_edit_agents.php b/pandora_console/godmode/massive/massive_edit_agents.php index 9a57ef9d53..26ab73603c 100755 --- a/pandora_console/godmode/massive/massive_edit_agents.php +++ b/pandora_console/godmode/massive/massive_edit_agents.php @@ -631,8 +631,8 @@ if (is_metaconsole() === true) { echo '