From 3317ba84a512d72d3efe08ac145f8d0490af027d Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 Sep 2007 08:56:28 +0000 Subject: [PATCH] Updated phoneGeneric saving git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7406 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/users/tabs_user.inc | 5 +++++ 1 file changed, 5 insertions(+) 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)){ -- 2.30.2