Fixed problem whit simple value.
This commit is contained in:
parent
93ed16b6be
commit
fdf65ad5da
|
@ -100,13 +100,7 @@ function visual_map_print_item($mode = "read", $layoutData,
|
||||||
$top = $layoutData['pos_y'];
|
$top = $layoutData['pos_y'];
|
||||||
$left = $layoutData['pos_x'];
|
$left = $layoutData['pos_x'];
|
||||||
$id = $layoutData['id'];
|
$id = $layoutData['id'];
|
||||||
//If it is simple value, label must be empty because if not, module value set the plane text '(_VALUE_)'
|
$label = io_safe_output($layoutData['label']);
|
||||||
if ($layoutData['type'] == SIMPLE_VALUE){
|
|
||||||
$label = '';
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
$label = io_safe_output($layoutData['label']);
|
|
||||||
}
|
|
||||||
$id_module = $layoutData['id_agente_modulo'];
|
$id_module = $layoutData['id_agente_modulo'];
|
||||||
$type = $layoutData['type'];
|
$type = $layoutData['type'];
|
||||||
$period = $layoutData['period'];
|
$period = $layoutData['period'];
|
||||||
|
|
Loading…
Reference in New Issue