From fdf65ad5da7914f8492ccfa33af49d84b0185863 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Diaz Date: Wed, 26 Aug 2015 13:30:54 +0200 Subject: [PATCH] Fixed problem whit simple value. --- pandora_console/include/functions_visual_map.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index f5a4d7c37b..05e8b74d5f 100755 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -100,13 +100,7 @@ function visual_map_print_item($mode = "read", $layoutData, $top = $layoutData['pos_y']; $left = $layoutData['pos_x']; $id = $layoutData['id']; - //If it is simple value, label must be empty because if not, module value set the plane text '(_VALUE_)' - if ($layoutData['type'] == SIMPLE_VALUE){ - $label = ''; - } - else{ - $label = io_safe_output($layoutData['label']); - } + $label = io_safe_output($layoutData['label']); $id_module = $layoutData['id_agente_modulo']; $type = $layoutData['type']; $period = $layoutData['period'];