diff options
Diffstat (limited to 'frontends/php/screenedit.php')
| -rw-r--r-- | frontends/php/screenedit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/screenedit.php b/frontends/php/screenedit.php index 15d131da..90af6b1c 100644 --- a/frontends/php/screenedit.php +++ b/frontends/php/screenedit.php @@ -36,7 +36,7 @@ include_once "include/page_header.php"; $fields=array( "screenid"=> array(T_ZBX_INT, O_MAND, P_SYS, DB_ID, null), - "screenitemid"=>array(T_ZBX_INT, O_NO, P_SYS, DB_ID, '{form}=="update"'), + "screenitemid"=>array(T_ZBX_INT, O_OPT, P_SYS, DB_ID, '{form}=="update"&&(!isset({x})||!isset({y}))'), "resourcetype"=> array(T_ZBX_INT, O_OPT, null, BETWEEN(SCREEN_RESOURCE_GRAPH,SCREEN_RESOURCE_EVENTS), 'isset({save})'), "resourceid"=> array(T_ZBX_INT, O_OPT, null, DB_ID, 'isset({save})'), |
