From: hickert Date: Wed, 26 Sep 2007 08:56:28 +0000 (+0000) Subject: Updated phoneGeneric saving X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3317ba84a512d72d3efe08ac145f8d0490af027d;p=gosa.git Updated phoneGeneric saving git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7406 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/users/tabs_user.inc b/plugins/admin/users/tabs_user.inc index d4219a42b..9e9389f95 100644 --- a/plugins/admin/users/tabs_user.inc +++ b/plugins/admin/users/tabs_user.inc @@ -98,6 +98,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)){