summaryrefslogtreecommitdiffstats
path: root/frontends/php/tr_status.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/tr_status.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/tr_status.php')
-rw-r--r--frontends/php/tr_status.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/tr_status.php b/frontends/php/tr_status.php
index 68f4f2f5..61f3844e 100644
--- a/frontends/php/tr_status.php
+++ b/frontends/php/tr_status.php
@@ -120,11 +120,11 @@ include_once "include/page_header.php";
validate_group_with_host(PERM_READ_ONLY,$options,'web.tr_status.groupid','web.tr_status.hostid');
- update_profile('web.tr_status.show_triggers',$_REQUEST['show_triggers']);
- update_profile('web.tr_status.show_events',$_REQUEST['show_events']);
+ update_profile('web.tr_status.show_triggers',$_REQUEST['show_triggers'], PROFILE_TYPE_INT);
+ update_profile('web.tr_status.show_events',$_REQUEST['show_events'], PROFILE_TYPE_INT);
- update_profile('web.tr_status.noactions',$_REQUEST['noactions']);
- update_profile('web.tr_status.compact',$_REQUEST['compact']);
+ update_profile('web.tr_status.noactions',$_REQUEST['noactions'], PROFILE_TYPE_STR);
+ update_profile('web.tr_status.compact',$_REQUEST['compact'], PROFILE_TYPE_STR);
$config=select_config();