Code

Updated user generic.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 3 Nov 2009 07:40:02 +0000 (07:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 3 Nov 2009 07:40:02 +0000 (07:40 +0000)
-Allow to select bases with special chars

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14726 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/generic/class_user.inc

index 716cbc50670214bb0ef16394d4aeaf76a43dfb24..247f2326d7f5230ee92961dca8c7c01e373a2f20 100644 (file)
@@ -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;
             }