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/httpconf.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/httpconf.php')
| -rw-r--r-- | frontends/php/httpconf.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/httpconf.php b/frontends/php/httpconf.php index 95a27cc3..52e84b48 100644 --- a/frontends/php/httpconf.php +++ b/frontends/php/httpconf.php @@ -88,10 +88,10 @@ include_once "include/page_header.php"; validate_group_with_host(PERM_READ_WRITE,array("always_select_first_host","only_current_node"),'web.last.conf.groupid', 'web.last.conf.hostid'); - update_profile("web.httpconf.showdisabled",$showdisabled); + update_profile("web.httpconf.showdisabled",$showdisabled, PROFILE_TYPE_STR); ?> <?php - $_REQUEST["applications"] = get_request("applications",get_profile("web.httpconf.applications",array()),PROFILE_TYPE_ARRAY); + $_REQUEST["applications"] = get_request("applications",get_profile("web.httpconf.applications",array(),PROFILE_TYPE_ARRAY_ID)); if(isset($_REQUEST["open"])){ if(!isset($_REQUEST["applicationid"])){ @@ -117,7 +117,7 @@ include_once "include/page_header.php"; array_shift($_REQUEST["applications"]); } - update_profile("web.httpconf.applications",$_REQUEST["applications"],PROFILE_TYPE_ARRAY); + update_profile("web.httpconf.applications",$_REQUEST["applications"],PROFILE_TYPE_ARRAY_ID); if(isset($_REQUEST['del_sel_step'])&&isset($_REQUEST['sel_step'])&&is_array($_REQUEST['sel_step'])){ foreach($_REQUEST['sel_step'] as $sid) |
