diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-11-02 09:49:44 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-11-02 09:49:44 +0000 |
| commit | 053e091380bdeff1d9a423e1dfdcfcda396045d5 (patch) | |
| tree | da06e467138936e3cd12ee6db4c73e677c305a76 /frontends/php/latest.php | |
| parent | 467c2281b799cf57a72682097fbeb7caa7d1faae (diff) | |
| download | zabbix-053e091380bdeff1d9a423e1dfdcfcda396045d5.tar.gz zabbix-053e091380bdeff1d9a423e1dfdcfcda396045d5.tar.xz zabbix-053e091380bdeff1d9a423e1dfdcfcda396045d5.zip | |
- [ZBX-134] merged rev. 4956:4966 of branches/1.4/ (Artem) (fixes for hostid/groupid validation on Node switch)
git-svn-id: svn://svn.zabbix.com/trunk@4968 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/latest.php')
| -rw-r--r-- | frontends/php/latest.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/frontends/php/latest.php b/frontends/php/latest.php index 25ef9993..5ce03428 100644 --- a/frontends/php/latest.php +++ b/frontends/php/latest.php @@ -47,8 +47,11 @@ include_once "include/page_header.php"; ); check_fields($fields); + + $options = array("allow_all_hosts","always_select_first_host","monitored_hosts","with_monitored_items"); + if(!$ZBX_WITH_SUBNODES) array_push($options,"only_current_node"); - validate_group_with_host(PERM_READ_ONLY,array("allow_all_hosts","always_select_first_host","monitored_hosts","with_monitored_items")); + validate_group_with_host(PERM_READ_ONLY,$options); ?> <?php |
