fixed error in visual console link
This commit is contained in:
parent
144bf0ef13
commit
cb0bc1bd33
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue