summaryrefslogtreecommitdiffstats
path: root/frontends/php/discoveryconf.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/discoveryconf.php')
-rw-r--r--frontends/php/discoveryconf.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/discoveryconf.php b/frontends/php/discoveryconf.php
index f578f665..a3eff528 100644
--- a/frontends/php/discoveryconf.php
+++ b/frontends/php/discoveryconf.php
@@ -48,8 +48,8 @@ include_once "include/page_header.php";
'isset({add_check})'),
"new_check_ports"=> array(T_ZBX_PORTS, O_OPT, null, NOT_EMPTY, 'isset({add_check})'),
- "new_check_key"=> array(T_ZBX_STR, O_OPT, null, NOT_EMPTY, 'isset({add_check})'),
- "new_check_snmp_community"=> array(T_ZBX_STR, O_OPT, null, NOT_EMPTY, 'isset({add_check})'),
+ "new_check_key"=> array(T_ZBX_STR, O_OPT, null, null, 'isset({add_check})'),
+ "new_check_snmp_community"=> array(T_ZBX_STR, O_OPT, null, null, 'isset({add_check})'),
"type_changed"=> array(T_ZBX_INT, O_OPT, null, IN(1), null),