summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2d43d0e)
raw | patch | inline | side by side (parent: 2d43d0e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Sep 2007 08:55:30 +0000 (08:55 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Sep 2007 08:55:30 +0000 (08:55 +0000) |
-->Trying to overwrite , which already exists
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7405 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7405 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/users/tabs_user.inc | patch | blob | history |
index 5620ef066b7e310b4d07820690a75c8977a2bbab..eaf50767e52b0a35e1e33206473216eeb87b7cc4 100644 (file)
$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)){