Merge branch '1024-Agrupar_graficas_rev' into 'develop'

fixed minor error

See merge request !719
This commit is contained in:
vgilc 2017-08-07 17:08:21 +02:00
commit af81f139e0
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ if (is_ajax()){
$agent_alias = get_parameter('agent_alias','');
$module_name = get_parameter('module_name','');
$tag = get_parameter('tag',0);
$only_avg = (bool) get_parameter('only_avg');
$only_avg_dyn = get_parameter('only_avg',0);
$values = array(
'id_container' => $id_container2,
@ -87,7 +87,7 @@ if (is_ajax()){
'agent' => $agent_alias,
'module' => $module_name,
'id_tag' => $tag,
'only_average' => $only_avg);
'only_average' => $only_avg_dyn);
$id_item = db_process_sql_insert('tcontainer_item', $values);
return;
}