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/hosts.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/hosts.php')
| -rw-r--r-- | frontends/php/hosts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php index 8cd1d82c..1014ef30 100644 --- a/frontends/php/hosts.php +++ b/frontends/php/hosts.php @@ -1,7 +1,7 @@ <?php /* ** ZABBIX -** Copyright (C) 2000-2005 SIA Zabbix +** Copyright (C) 2000-2007 SIA Zabbix ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by @@ -124,7 +124,7 @@ include_once "include/page_header.php"; check_fields($fields); if($_REQUEST["config"]==4) - validate_group_with_host(PERM_READ_WRITE,array("always_select_first_host"),'web.last.conf.groupid', 'web.last.conf.hostid'); + validate_group_with_host(PERM_READ_WRITE,array("always_select_first_host","only_current_node"),'web.last.conf.groupid', 'web.last.conf.hostid'); elseif($_REQUEST["config"]==0 || $_REQUEST["config"]==3) validate_group(PERM_READ_WRITE,array(),'web.last.conf.groupid'); |
