fixed error in visual console link

This commit is contained in:
daniel 2017-10-25 11:01:12 +02:00
parent 144bf0ef13
commit cb0bc1bd33
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) {