Fixed period in log reports. Ticket #337

This commit is contained in:
Arturo Gonzalez 2017-03-03 12:19:51 +01:00
parent af131ede10
commit a1667fd129
1 changed files with 2 additions and 0 deletions

View File

@ -930,6 +930,7 @@ switch ($action) {
$es['id_agents'] = $agents_to_report; $es['id_agents'] = $agents_to_report;
$values['external_source'] = json_encode($es); $values['external_source'] = json_encode($es);
$values['period'] = get_parameter('period');
$good_format = true; $good_format = true;
break; break;
case 'prediction_date': case 'prediction_date':
@ -1284,6 +1285,7 @@ switch ($action) {
$es['id_agents'] = $agents_to_report; $es['id_agents'] = $agents_to_report;
$values['external_source'] = json_encode($es); $values['external_source'] = json_encode($es);
$values['period'] = get_parameter('period');
$good_format = true; $good_format = true;
break; break;
case 'agent_module': case 'agent_module':