From: hickert Date: Wed, 14 Jul 2010 07:16:50 +0000 (+0000) Subject: Updated post handling, enables utf-8 support. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c719439347e09eb673d96616a1ce99745fcd62f9;p=gosa.git Updated post handling, enables utf-8 support. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18998 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc b/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc index 571924e57..b499d283e 100644 --- a/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc +++ b/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc @@ -280,18 +280,18 @@ class opengwAccount extends plugin /* Get location Team*/ if(isset($_POST['LocationTeam']) && $this->acl_is_writeable("LocationTeam")){ - $this->info['LocationTeamID'] = $_POST['LocationTeam']; + $this->info['LocationTeamID'] = get_post('LocationTeam'); } /* Get template user */ if(isset($_POST['TemplateUser']) && $this->acl_is_writeable("TemplateUser") ){ - $this->info['template_user_id'] = $_POST['TemplateUser']; + $this->info['template_user_id'] = get_post('TemplateUser'); } /* get lock status */ if($this->acl_is_writeable("Locked")){ if(isset($_POST['is_locked'])){ - $this->info['is_locked'] = $_POST['is_locked']; + $this->info['is_locked'] = get_post('is_locked'); }else{ $this->info['is_locked'] = 0; } @@ -301,7 +301,7 @@ class opengwAccount extends plugin /* change account status */ if(isset($_POST['is_account'])){ if($this->acl_is_createable()){ - $this->is_account = $_POST['is_account']; + $this->is_account = get_post('is_account'); } }else{ if($this->acl_is_removeable()){