Code

Fixed Password set for copy & paste actions
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 9 Nov 2006 06:37:51 +0000 (06:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 9 Nov 2006 06:37:51 +0000 (06:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5052 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_CopyPasteHandler.inc
plugins/admin/users/class_userManagement.inc

index 963e3df67e8e7ccdf29027bc61ed80fc238bdecf..35b1937ef671f280d7ee95943da046ddce341c21 100644 (file)
@@ -139,6 +139,7 @@ class CopyPasteHandler {
           }
         }else{
           $this->current->save();
+          $this->lastdn = $this->current->dn;
           $this->dialogOpen =false;
           $this->Clear();
         }
index 71ce462ebfb43949331713dc04a4c7953a6426b7..9159587ac5a6f2ca516b62a921282d70a4ce9128 100644 (file)
@@ -757,6 +757,9 @@ class userManagement extends plugin
 
         /* Use the last dn to search for it's ID in the newly generated list. */
         $dn= $this->CopyPasteHandler->lastdn;
+
+        /* Get new user list */
+        $this->reload();
         foreach($this->list as $id => $entry){
           if($entry['dn'] == $dn){
             $s_entry= $id;