diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-20 08:42:25 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-20 08:42:25 +0000 |
| commit | 3f8cf5f0da75fa8312c173e9e2c1e1e843811091 (patch) | |
| tree | 1cb9f4841cb20bc2fd65a696181e70cbdf2cfb88 /frontends/php/overview.php | |
| parent | 2804bdc7c298f114802a93d7c3312370c8602ba0 (diff) | |
- [DEV-137] changes in users profile system (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5782 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 8cea9dbe..26ff1b0e 100644 --- a/frontends/php/overview.php +++ b/frontends/php/overview.php @@ -48,7 +48,7 @@ if(isset($_REQUEST["select"])&&($_REQUEST["select"]!="")){ check_fields($fields); $_REQUEST['view_style'] = get_request('view_style',get_profile('web.overview.view.style',STYLE_TOP)); - update_profile('web.overview.view.style',$_REQUEST['view_style']); + update_profile('web.overview.view.style',$_REQUEST['view_style'],PROFILE_TYPE_INT); $options = array('allow_all_hosts','monitored_hosts','with_monitored_items'); @@ -61,7 +61,7 @@ if(isset($_REQUEST["select"])&&($_REQUEST["select"]!="")){ validate_group(PERM_READ_ONLY,$options,'web.overview.groupid'); $_REQUEST["type"] = get_request("type",get_profile("web.overview.type",SHOW_TRIGGERS)); - update_profile("web.overview.type",$_REQUEST["type"]); + update_profile("web.overview.type",$_REQUEST["type"],PROFILE_TYPE_INT); $form = new CForm(); $form->SetMethod('get'); |
