From: cajus Date: Fri, 9 Oct 2009 14:41:08 +0000 (+0000) Subject: Don't yell around because of non changed bases X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=67c0e65c103b858ccb13a26d177925e8a284788a;p=gosa.git Don't yell around because of non changed bases git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14570 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 c2331a5cb..716cbc506 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -769,19 +769,20 @@ class user extends plugin $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); } }