diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-08-07 12:16:12 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-08-07 12:16:12 +0000 |
commit | c613bdfadf062a5831d4781b7a5e139b4bd749dd (patch) | |
tree | 8525f42c16d945f0ea803a32d80220eefc29dcbd /frontends/php/latest.php | |
parent | 5132f1679c3106da0ce8bda401ecdec3af45bd55 (diff) | |
download | zabbix-c613bdfadf062a5831d4781b7a5e139b4bd749dd.tar.gz zabbix-c613bdfadf062a5831d4781b7a5e139b4bd749dd.tar.xz zabbix-c613bdfadf062a5831d4781b7a5e139b4bd749dd.zip |
- [DEV-137] added selection of the first host in group on group change (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5883 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/latest.php')
-rw-r--r-- | frontends/php/latest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/latest.php b/frontends/php/latest.php index 8c2e8dd7..80e50fab 100644 --- a/frontends/php/latest.php +++ b/frontends/php/latest.php @@ -63,7 +63,7 @@ include_once "include/page_header.php"; $_REQUEST['select'] = get_request('select',get_profile('web.latest.filter.select', '')); update_profile('web.latest.filter.select', $_REQUEST['select'], PROFILE_TYPE_STR); - $options = array('allow_all_hosts','monitored_hosts','with_monitored_items'); + $options = array('allow_all_hosts','monitored_hosts','with_monitored_items','always_select_first_host'); $_REQUEST['hostid'] = get_request('hostid',get_profile('web.latest.last.hostid', null)); if(is_null($_REQUEST['hostid'])){ @@ -71,7 +71,7 @@ include_once "include/page_header.php"; $_REQUEST['groupid'] = get_request('groupid',get_profile('web.latest.last.groupid', null)); if(is_null($_REQUEST['groupid'])){ - validate_group(PERM_READ_ONLY,array('allow_all_hosts','monitored_hosts','with_monitored_items','always_select_first_group'),'web.latest.last.groupid'); + validate_group(PERM_READ_ONLY,$options,'web.latest.last.groupid'); } } |