Code

Global Base
[gosa.git] / plugins / admin / users / tabs_user.inc
index 9569ed3969e3e613fabc64ea47d98c27aa8bab7f..5ac4fb7b3a1321b791928caf86904e9f3a2b59a9 100644 (file)
@@ -129,6 +129,16 @@ class usertabs extends tabs
       $this->by_object[$key]->is_template= TRUE;
     }
   }
+  
+  function saveCopyDialog()
+  {
+    tabs::saveCopyDialog();
+    $baseobject= $this->by_object['user'];
+    $uid = $baseobject->uid;
+    foreach($this->by_object as  $name => $obj){
+      $this->by_object[$name]->uid = $uid;
+    }
+  }
 
 }