mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
fixed error visual console remove link when edit console
This commit is contained in:
parent
04c271ae61
commit
3d4485438d
@ -1537,7 +1537,12 @@ function visual_map_print_item($mode = "read", $layoutData,
|
|||||||
if ($link) {
|
if ($link) {
|
||||||
echo "<a href=\"$url\">";
|
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) {
|
switch ($type) {
|
||||||
case BOX_ITEM:
|
case BOX_ITEM:
|
||||||
if ($width == 0 || $width == 0) {
|
if ($width == 0 || $width == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user