diff options
author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-05-09 10:31:17 +0000 |
---|---|---|
committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-05-09 10:31:17 +0000 |
commit | cb297e84f068748f96ccf2840a68cad0dfc2a08a (patch) | |
tree | 923c8e249a41601605f600ae7617ce6c689dbed1 /frontends/php/triggers.php | |
parent | 5f4473e6d8594c7e0b2444a1bc36630d6a4b4ab7 (diff) | |
download | zabbix-cb297e84f068748f96ccf2840a68cad0dfc2a08a.tar.gz zabbix-cb297e84f068748f96ccf2840a68cad0dfc2a08a.tar.xz zabbix-cb297e84f068748f96ccf2840a68cad0dfc2a08a.zip |
- improved parameters validation for frontend (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@4104 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/triggers.php')
-rw-r--r-- | frontends/php/triggers.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/triggers.php b/frontends/php/triggers.php index 3ffa16fa..fae055ca 100644 --- a/frontends/php/triggers.php +++ b/frontends/php/triggers.php @@ -51,7 +51,7 @@ include_once "include/page_header.php"; "status"=> array(T_ZBX_STR, O_OPT, NULL, NULL,NULL), "dependences"=> array(T_ZBX_INT, O_OPT, NULL, DB_ID, NULL), - "new_dependence"=> array(T_ZBX_STR, O_OPT, NULL, NOT_EMPTY,'isset({add_dependence})'), + "new_dependence"=> array(T_ZBX_INT, O_OPT, NULL, DB_ID.'{}>0','isset({add_dependence})'), "rem_dependence"=> array(T_ZBX_INT, O_OPT, NULL, DB_ID, NULL), "g_triggerid"=> array(T_ZBX_INT, O_OPT, NULL, DB_ID, NULL), |