Code

Fixed saving of trust mode settings for groups
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Apr 2010 12:54:28 +0000 (12:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Apr 2010 12:54:28 +0000 (12:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17884 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/groups/class_group.inc

index 33ce9cf0d53926c6d80081e94aad45b285e17b3c..3909895b3f6681d0b9001424a8a0b5bd41702dab 100644 (file)
@@ -827,9 +827,6 @@ class group extends plugin
       $ldap->create_missing_trees(preg_replace('/^[^,]+,/', '', $this->dn));
     }
 
-    $this->trustModeDialog->dn = $this->dn;
-    $this->trustModeDialog->save();
-
     /* Check generated gidNumber, it may be used by another group. 
      */
     if($this->gidNumber != ""){
@@ -869,6 +866,9 @@ class group extends plugin
       $ret= 1;
     }
 
+    $this->trustModeDialog->dn = $this->dn;
+    $this->trustModeDialog->save();
+
     /* Remove uid lock */
     del_lock ("gidnumber");