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/dashboard.php | |
| parent | 2804bdc7c298f114802a93d7c3312370c8602ba0 (diff) | |
| download | zabbix-3f8cf5f0da75fa8312c173e9e2c1e1e843811091.tar.gz zabbix-3f8cf5f0da75fa8312c173e9e2c1e1e843811091.tar.xz zabbix-3f8cf5f0da75fa8312c173e9e2c1e1e843811091.zip | |
- [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/dashboard.php')
| -rw-r--r-- | frontends/php/dashboard.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/dashboard.php b/frontends/php/dashboard.php index 4fe6be53..f80a2de0 100644 --- a/frontends/php/dashboard.php +++ b/frontends/php/dashboard.php @@ -61,7 +61,7 @@ include_once "include/page_header.php"; // ACTION ///////////////////////////////////////////////////////////////////////////// if(isset($_REQUEST['favobj'])){ if('hat' == $_REQUEST['favobj']){ - update_profile('web.dashboard.hats.'.$_REQUEST['favid'].'.state',$_REQUEST['state']); + update_profile('web.dashboard.hats.'.$_REQUEST['favid'].'.state',$_REQUEST['state'], PROFILE_TYPE_INT); } if('refresh' == $_REQUEST['favobj']){ switch($_REQUEST['favid']){ @@ -90,7 +90,7 @@ include_once "include/page_header.php"; if('set_rf_rate' == $_REQUEST['favobj']){ if(in_array($_REQUEST['favid'],array('hat_syssum','hat_stszbx','hat_lastiss','hat_webovr','hat_dscvry'))){ - update_profile('web.dahsboard.rf_rate.'.$_REQUEST['favid'],$_REQUEST['favcnt']); + update_profile('web.dahsboard.rf_rate.'.$_REQUEST['favid'],$_REQUEST['favcnt'], PROFILE_TYPE_INT); $_REQUEST['favcnt'] = get_profile('web.dahsboard.rf_rate.'.$_REQUEST['favid'],60); echo get_refresh_obj_script( |
