summaryrefslogtreecommitdiffstats
path: root/frontends/php/sysmap.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-09 13:38:49 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-09 13:38:49 +0000
commit600d1fa907d54c247ab2fdb38573c4503aeffc8a (patch)
tree2a19f8ce66f3eb4874763a39e73b4fb6ee6bca3b /frontends/php/sysmap.php
parentaa379c6f18a008a13b3daef3770177da0198ae80 (diff)
downloadzabbix-600d1fa907d54c247ab2fdb38573c4503aeffc8a.tar.gz
zabbix-600d1fa907d54c247ab2fdb38573c4503aeffc8a.tar.xz
zabbix-600d1fa907d54c247ab2fdb38573c4503aeffc8a.zip
- increased maximal size of images (Eugene)
- improoved validation - more git-svn-id: svn://svn.zabbix.com/trunk@4109 97f52cf1-0a1b-0410-bd0e-c28be96e8082
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})'),