summaryrefslogtreecommitdiffstats
path: root/frontends/php/httpconf.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-10-08 11:59:15 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-10-08 11:59:15 +0000
commitf99327ef29f466bac40fdd47413d1a9cab9b3690 (patch)
tree48748ced776efb2490b7c382dcfb7c002ffb2130 /frontends/php/httpconf.php
parent09174fc6e94e7ff57d3d1e9f8dd134be4d7645c7 (diff)
downloadzabbix-f99327ef29f466bac40fdd47413d1a9cab9b3690.tar.gz
zabbix-f99327ef29f466bac40fdd47413d1a9cab9b3690.tar.xz
zabbix-f99327ef29f466bac40fdd47413d1a9cab9b3690.zip
- [DEV-50] merged rev. 4841:4843 of branches/1.4/ (Artem) [improved incoming parameters exception validation]
git-svn-id: svn://svn.zabbix.com/trunk@4847 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/httpconf.php')
-rw-r--r--frontends/php/httpconf.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/httpconf.php b/frontends/php/httpconf.php
index 1742d90e..a3b51d69 100644
--- a/frontends/php/httpconf.php
+++ b/frontends/php/httpconf.php
@@ -43,7 +43,7 @@ include_once "include/page_header.php";
"groupid"=> array(T_ZBX_INT, O_OPT, P_SYS, DB_ID,null),
"hostid"=> array(T_ZBX_INT, O_OPT, P_SYS, DB_ID,'isset({form})||isset({save})'),
- "httptestid"=> array(T_ZBX_INT, O_NO, P_SYS, DB_ID,'{form}=="update"'),
+ "httptestid"=> array(T_ZBX_INT, O_NO, P_SYS, DB_ID,'(isset({form})&&({form}=="update"))'),
"application"=> array(T_ZBX_STR, O_OPT, null, NOT_EMPTY,'isset({save})'),
"name"=> array(T_ZBX_STR, O_OPT, null, NOT_EMPTY.KEY_PARAM(),'isset({save})'),
"delay"=> array(T_ZBX_INT, O_OPT, null, BETWEEN(0,86400),'isset({save})'),