From 71424e84f37cf4730ec47f1264c752f204ff546f Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 3 Nov 2009 07:40:02 +0000 Subject: [PATCH] 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 --- gosa-core/plugins/personal/generic/class_user.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.30.2