Merge branch 'ent-4895-error-redireccion-plantillas-cron-tasklist' into 'develop'

Fixed template redirection tasklist on cron extension

See merge request artica/pandorafms!3006
This commit is contained in:
Daniel Rodriguez 2020-01-10 11:12:39 +01:00
commit 2734b6461e
1 changed files with 3 additions and 2 deletions

View File

@ -551,8 +551,9 @@ function cron_list_table()
$report_per_agent = $args[0];
$report_name = $args[3];
$email = $args[4];
$data[2] .= '<br>- '.__('Template').": <a href='index.php?sec=reporting&sec2=operation/reporting/reporting_viewer";
$data[2] .= '&id='.$args[0]."'>".$template['name'].'</a>';
$data[2] .= '<br>- '.__('Template').': ';
$data[2] .= '<a href="'.ui_get_full_url('index.php?sec=reporting&sec2=enterprise/godmode/reporting/reporting_builder.template&action=edit&id_template='.$args[0]).'">';
$data[2] .= $template['name'].'</a>';
$data[2] .= '<br>- '.__('Agents').': '.$agents_id.'</a>';
$data[2] .= '<br>- '.__('Report per agent').': '.$report_per_agent.'</a>';
$data[2] .= '<br>- '.__('Report name').': '.$report_name.'</a>';