From b3aa47877d5743b3de973367ab79e7371ec21f28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Gonz=C3=A1lez?= Date: Fri, 11 Jun 2021 15:54:04 +0200 Subject: [PATCH] Fixed issue with meta --- pandora_console/include/functions_cron.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/functions_cron.php b/pandora_console/include/functions_cron.php index f4c7597a08..4469bb50f8 100644 --- a/pandora_console/include/functions_cron.php +++ b/pandora_console/include/functions_cron.php @@ -552,7 +552,9 @@ function cron_list_table() continue; } - if (empty($args[0]) === false || (string) $args[1] !== '0') { + hd($args, true); + hd('cron', true); + if (empty($args[1]) === false && (string) $args[1] !== '0') { $agents_id = $args[1]; } else { if (empty($args[2]) === false) { @@ -566,8 +568,7 @@ function cron_list_table() } } - $id_group = $args[3]; - $report_per_agent = $args[0]; + $report_per_agent = $args[3]; $report_name = $args[4]; $email = $args[5]; $data[2] .= '
- '.__('Template').': ';