From cb0bc1bd3377493389e205eee14c177970847171 Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 25 Oct 2017 11:01:12 +0200 Subject: [PATCH] fixed error in visual console link --- pandora_console/include/functions_visual_map.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index be50812cc5..73577f4a6b 100755 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -1183,11 +1183,7 @@ function visual_map_print_item($mode = "read", $layoutData, //for clean link text from bbdd if (get_parameter('action') == 'edit' || get_parameter('operation') == 'edit_visualmap') { - $aux_text1 = explode("", $aux_text1[1]); - $aux_text3 = explode("", $aux_text2[1]); - - $text = $aux_text1[0].$aux_text3[0].$aux_text3[1]; + $text = preg_replace("/<\/*a.*?>/", '', $text); } switch ($type) {