diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-03-17 15:17:26 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-03-17 15:17:26 +0000 |
commit | 7d37d9aa713e41540f2646d176f36ea755029263 (patch) | |
tree | aa7d898607171866d74a7af1195067b9bbae8cb4 /frontends/php/discoveryconf.php | |
parent | 1a33200e10b84a64cf9234ca02b56f0a3259e186 (diff) | |
download | zabbix-7d37d9aa713e41540f2646d176f36ea755029263.tar.gz zabbix-7d37d9aa713e41540f2646d176f36ea755029263.tar.xz zabbix-7d37d9aa713e41540f2646d176f36ea755029263.zip |
- small fixes to JS code (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5499 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/discoveryconf.php')
-rw-r--r-- | frontends/php/discoveryconf.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/frontends/php/discoveryconf.php b/frontends/php/discoveryconf.php index 1a0af586..fc3c6d42 100644 --- a/frontends/php/discoveryconf.php +++ b/frontends/php/discoveryconf.php @@ -216,13 +216,11 @@ include_once "include/page_header.php"; ' WHERE '.DBin_node('druleid'). order_by('d.name,d.iprange,d.delay','d.druleid')); - while($rule_data = DBfetch($db_rules)) - { + while($rule_data = DBfetch($db_rules)){ $cheks = array(); $db_checks = DBselect("select * from dchecks where druleid=".$rule_data["druleid"]. " order by type,druleid"); - while($check_data = DBfetch($db_checks)) - { + while($check_data = DBfetch($db_checks)){ $cheks[] = discovery_check_type2str($check_data['type']); } |