From: hickert Date: Wed, 26 Sep 2007 09:17:13 +0000 (+0000) Subject: Fixed uzser saving X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1aa0fea7cd746633047a819dc79b86d7c4d5cb1f;p=gosa.git Fixed uzser saving git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7408 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/users/tabs_user.inc b/plugins/admin/users/tabs_user.inc index 9e9389f95..b67882fa0 100644 --- a/plugins/admin/users/tabs_user.inc +++ b/plugins/admin/users/tabs_user.inc @@ -99,10 +99,6 @@ class usertabs extends tabs if ($this->dn != 'new'){ - /* Call user->check(); to enforce a value for new_dn */ - if($baseobject->new_dn == ""){ - $baseobject->check(); - } $new_dn= $baseobject->new_dn; if (strtolower($this->dn) != strtolower($new_dn)){ diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index f55a9ddfc..1c5aa2914 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -119,7 +119,10 @@ class user extends plugin /* Load base attributes */ plugin::plugin ($config, $dn); - $this->orig_dn = $this->dn; + $this->orig_dn = $this->dn; + $this->new_dn = $this->dn; + + $this->new_dn = $dn; if ($this->config->current['GOVERNMENTMODE']){ /* Fix public visible attribute if unset */