Merge branch 'ent-8040-Bug-visual-en-item-module-graph-CV' into 'develop'

Ent 8040 bug visual en item module graph cv

See merge request artica/pandorafms!4455
This commit is contained in:
Daniel Rodriguez 2021-11-15 12:24:02 +00:00
commit a7b6f885cf
3 changed files with 27 additions and 23 deletions

View File

@ -459,13 +459,17 @@ switch ($activeTab) {
break; break;
case MODULE_GRAPH:
case SIMPLE_VALUE_MAX: case SIMPLE_VALUE_MAX:
case SIMPLE_VALUE_MIN: case SIMPLE_VALUE_MIN:
case SIMPLE_VALUE_AVG: case SIMPLE_VALUE_AVG:
$values['period'] = get_parameter('period_'.$id, 0); $values['period'] = get_parameter('period_'.$id, 0);
break; break;
case MODULE_GRAPH:
$values['period'] = get_parameter('period_'.$id, 0);
unset($values['image']);
break;
case GROUP_ITEM: case GROUP_ITEM:
$values['id_group'] = get_parameter('group_'.$id, 0); $values['id_group'] = get_parameter('group_'.$id, 0);
break; break;