From: hickert Date: Wed, 26 Sep 2007 08:55:30 +0000 (+0000) Subject: Fixed phoneGeneric saving. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=79ff6000798d8e62678786027c311575f6735a41;p=gosa.git Fixed phoneGeneric saving. -->Trying to overwrite , which already exists git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7405 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/users/tabs_user.inc b/plugins/admin/users/tabs_user.inc index 5620ef066..eaf50767e 100644 --- a/plugins/admin/users/tabs_user.inc +++ b/plugins/admin/users/tabs_user.inc @@ -92,6 +92,11 @@ class usertabs extends tabs $baseobject= $this->by_object['user']; 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)){