From: hickert Date: Tue, 3 Nov 2009 07:40:02 +0000 (+0000) Subject: Updated user generic. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=71424e84f37cf4730ec47f1264c752f204ff546f;p=gosa.git Updated user generic. -Allow to select bases with special chars git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14726 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc index 716cbc506..247f2326d 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -771,10 +771,10 @@ class user extends plugin /* Save base - its no no LDAP attribute */ if (isset($_POST['base'])){ - $base= validate($_POST['base']); + $base= get_post('base'); if ($base != $this->base){ $tmp = $this->get_allowed_bases(); - if(isset($tmp[$_POST['base']])){ + if(isset($tmp[$base])){ if ($base != $this->base){ $this->is_modified= TRUE; }