Merge branch '1487-Problemas_varios_en_consolas_visuales_4' into 'develop'

fixed error in visual console link

See merge request artica/pandorafms!966
This commit is contained in:
vgilc 2017-10-25 11:12:44 +02:00
commit 8fa33a2401
1 changed files with 1 additions and 5 deletions

View File

@ -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("<a ", $text);
$aux_text2 = explode("\">", $aux_text1[1]);
$aux_text3 = explode("</a>", $aux_text2[1]);
$text = $aux_text1[0].$aux_text3[0].$aux_text3[1];
$text = preg_replace("/<\/*a.*?>/", '', $text);
}
switch ($type) {