diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-25 11:52:41 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-25 11:52:41 +0000 |
commit | 56a5e3453ca8651296755d5833aac6becf620fa3 (patch) | |
tree | 7d633b3cbc921d8065939a923da02b5fc0fb4836 /frontends/php/overview.php | |
parent | d3fc7944f6fd4a51dba16bcb1e24fa154a29e5fb (diff) | |
download | zabbix-56a5e3453ca8651296755d5833aac6becf620fa3.tar.gz zabbix-56a5e3453ca8651296755d5833aac6becf620fa3.tar.xz zabbix-56a5e3453ca8651296755d5833aac6becf620fa3.zip |
- [DEV-137] fix simple graphs error. Tnx to Palmertree. (Artem)
- [DEV-137] added profile value_id devision by nodes (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5788 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/overview.php')
-rw-r--r-- | frontends/php/overview.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/overview.php b/frontends/php/overview.php index 26ff1b0e..bd0b97d6 100644 --- a/frontends/php/overview.php +++ b/frontends/php/overview.php @@ -52,8 +52,8 @@ if(isset($_REQUEST["select"])&&($_REQUEST["select"]!="")){ $options = array('allow_all_hosts','monitored_hosts','with_monitored_items'); - $_REQUEST['groupid'] = get_request('groupid',get_profile('web.latest.last.groupid')); - if(!isset($_REQUEST['groupid'])){ + $_REQUEST['groupid'] = get_request('groupid',get_profile('web.latest.last.groupid', null, PROFILE_TYPE_ID)); + if(is_null($_REQUEST['groupid'])){ array_push($options,'always_select_first_group'); validate_group(PERM_READ_ONLY, $options, 'web.overview.groupid'); } |