summaryrefslogtreecommitdiffstats
path: root/frontends/php/sysmap.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/sysmap.php')
-rw-r--r--frontends/php/sysmap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/sysmap.php b/frontends/php/sysmap.php
index c0ca255c..1db42031 100644
--- a/frontends/php/sysmap.php
+++ b/frontends/php/sysmap.php
@@ -48,8 +48,8 @@ include_once "include/page_header.php";
"label_location"=>array(T_ZBX_INT, O_OPT, NULL, IN("-1,0,1,2,3"),'isset({save})'),
"linkid"=> array(T_ZBX_INT, O_OPT, P_SYS, DB_ID,NULL),
- "selementid1"=> array(T_ZBX_INT, O_OPT, NULL, DB_ID,'isset({save_link})'),
- "selementid2"=> array(T_ZBX_INT, O_OPT, NULL, DB_ID,'isset({save_link})'),
+ "selementid1"=> array(T_ZBX_INT, O_OPT, NULL, DB_ID.'{}!={selementid2}','isset({save_link})'),
+ "selementid2"=> array(T_ZBX_INT, O_OPT, NULL, DB_ID.'{}!={selementid1}','isset({save_link})'),
"triggerid"=> array(T_ZBX_INT, O_OPT, NULL, DB_ID,'isset({save_link})'),
"drawtype_off"=>array(T_ZBX_INT, O_OPT, NULL, IN("0,1,2,3,4"),'isset({save_link})'),
"drawtype_on"=> array(T_ZBX_INT, O_OPT, NULL, IN("0,1,2,3,4"),'isset({save_link})'),