summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 20696a7)
raw | patch | inline | side by side (parent: 20696a7)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Oct 2009 14:41:08 +0000 (14:41 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Oct 2009 14:41:08 +0000 (14:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14570 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/generic/class_user.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index c2331a5cb3ac07a0e9a557c926d0a3e8d955192a..716cbc50670214bb0ef16394d4aeaf76a43dfb24 100644 (file)
$this->givenName= $this->sn;
}
- /* Save base and pw_storage, since these are no LDAP attributes */
+ /* Save base - its no no LDAP attribute */
if (isset($_POST['base'])){
-
- $tmp = $this->get_allowed_bases();
- if(isset($tmp[$_POST['base']])){
- $base= validate($_POST['base']);
- if ($base != $this->base){
- $this->is_modified= TRUE;
+ $base= validate($_POST['base']);
+ if ($base != $this->base){
+ $tmp = $this->get_allowed_bases();
+ if(isset($tmp[$_POST['base']])){
+ if ($base != $this->base){
+ $this->is_modified= TRUE;
+ }
+ $this->base= $base;
+ }else{
+ $this->base = $base_tmp;
+ msg_dialog::display(_("Error"), msgPool::permMove(), ERROR_DIALOG);
}
- $this->base= $base;
- }else{
- $this->base = $base_tmp;
- msg_dialog::display(_("Error"), msgPool::permMove(), ERROR_DIALOG);
}
}