summaryrefslogtreecommitdiffstats
path: root/frontends/php/events.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/events.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/events.php')
-rw-r--r--frontends/php/events.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/frontends/php/events.php b/frontends/php/events.php
index 9f4a89b1..55de7e1b 100644
--- a/frontends/php/events.php
+++ b/frontends/php/events.php
@@ -80,7 +80,7 @@ include_once "include/page_header.php";
/* AJAX */
if(isset($_REQUEST['favobj'])){
if('filter' == $_REQUEST['favobj']){
- update_profile('web.events.filter.state',$_REQUEST['state']);
+ update_profile('web.events.filter.state',$_REQUEST['state'], PROFILE_TYPE_INT);
}
}
@@ -112,17 +112,17 @@ include_once "include/page_header.php";
if(isset($_REQUEST['filter_set']) || isset($_REQUEST['filter_rst'])){
update_profile('web.events.filter.triggerid',$_REQUEST['triggerid']);
- update_profile('web.events.filter.show_unknown',$show_unknown);
+ update_profile('web.events.filter.show_unknown',$show_unknown, PROFILE_TYPE_INT);
- update_profile('web.events.filter.timesince',$_REQUEST['filter_timesince']);
- update_profile('web.events.filter.timetill',$_REQUEST['filter_timetill']);
+ update_profile('web.events.filter.timesince',$_REQUEST['filter_timesince'], PROFILE_TYPE_INT);
+ update_profile('web.events.filter.timetill',$_REQUEST['filter_timetill'], PROFILE_TYPE_INT);
}
// --------------
validate_sort_and_sortorder('e.clock',ZBX_SORT_DOWN);
$source = get_request('source', EVENT_SOURCE_TRIGGERS);
- update_profile('web.events.source',$source);
+ update_profile('web.events.source',$source, PROFILE_TYPE_INT);
?>
<?php