fixed error visual console remove link when edit console

This commit is contained in:
daniel 2017-11-20 10:37:07 +01:00
parent 04c271ae61
commit 3d4485438d
1 changed files with 6 additions and 1 deletions

View File

@ -1537,7 +1537,12 @@ function visual_map_print_item($mode = "read", $layoutData,
if ($link) {
echo "<a href=\"$url\">";
}
//for clean link text from bbdd only edit_visualmap
if (get_parameter('action') == 'edit' || get_parameter('operation') == 'edit_visualmap') {
$text = preg_replace("/<\/*a.*?>/", '', $text);
}
switch ($type) {
case BOX_ITEM:
if ($width == 0 || $width == 0) {