summaryrefslogtreecommitdiffstats
path: root/frontends/php/report2.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-20 08:42:25 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-20 08:42:25 +0000
commit3f8cf5f0da75fa8312c173e9e2c1e1e843811091 (patch)
tree1cb9f4841cb20bc2fd65a696181e70cbdf2cfb88 /frontends/php/report2.php
parent2804bdc7c298f114802a93d7c3312370c8602ba0 (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/report2.php')
-rw-r--r--frontends/php/report2.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/report2.php b/frontends/php/report2.php
index cf338762..0853cd3c 100644
--- a/frontends/php/report2.php
+++ b/frontends/php/report2.php
@@ -62,7 +62,7 @@ include_once 'include/page_header.php';
/* AJAX */
if(isset($_REQUEST['favobj'])){
if('filter' == $_REQUEST['favobj']){
- update_profile('web.avail_report.filter.state',$_REQUEST['state']);
+ update_profile('web.avail_report.filter.state',$_REQUEST['state'], PROFILE_TYPE_INT);
}
}
@@ -87,13 +87,13 @@ include_once 'include/page_header.php';
}
if(isset($_REQUEST['filter_set']) || isset($_REQUEST['filter_rst'])){
- update_profile('web.avail_report.filter.timesince',$_REQUEST['filter_timesince']);
- update_profile('web.avail_report.filter.timetill',$_REQUEST['filter_timetill']);
+ update_profile('web.avail_report.filter.timesince',$_REQUEST['filter_timesince'], PROFILE_TYPE_INT);
+ update_profile('web.avail_report.filter.timetill',$_REQUEST['filter_timetill'], PROFILE_TYPE_INT);
}
// --------------
$config = get_request('config',get_profile('web.avail_report.config',0));
- update_profile('web.avail_report.config',$config);
+ update_profile('web.avail_report.config',$config, PROFILE_TYPE_INT);
$options = array('allow_all_hosts','always_select_first_host','with_items');