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:
commit
8fa33a2401
|
@ -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