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/latest.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/latest.php')
| -rw-r--r-- | frontends/php/latest.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/frontends/php/latest.php b/frontends/php/latest.php index 79331fc7..8ccf0f6f 100644 --- a/frontends/php/latest.php +++ b/frontends/php/latest.php @@ -72,9 +72,9 @@ include_once "include/page_header.php"; $_REQUEST['select'] = get_request('select',''); $_REQUEST['groupbyapp'] = get_request('groupbyapp',get_profile('web.latest.groupbyapp',1)); - update_profile('web.latest.groupbyapp',$_REQUEST['groupbyapp']); + update_profile('web.latest.groupbyapp',$_REQUEST['groupbyapp'],PROFILE_TYPE_INT); - $_REQUEST['applications'] = get_request('applications',get_profile('web.latest.applications',array()),PROFILE_TYPE_ARRAY); + $_REQUEST['applications'] = get_request('applications',get_profile('web.latest.applications',array(),PROFILE_TYPE_ARRAY_ID)); if(isset($_REQUEST['open'])){ if(!isset($_REQUEST['applicationid'])){ @@ -100,8 +100,7 @@ include_once "include/page_header.php"; array_shift($_REQUEST['applications']); } - - update_profile('web.latest.applications',$_REQUEST['applications'],PROFILE_TYPE_ARRAY); + update_profile('web.latest.applications',$_REQUEST['applications'],PROFILE_TYPE_ARRAY_ID); ?> <?php $r_form = new CForm(); |
