From 2e9813a36015258894b6e4f80ec31f36fb518fce Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 9 Nov 2006 06:37:51 +0000 Subject: [PATCH] Fixed Password set for copy & paste actions git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5052 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_CopyPasteHandler.inc | 1 + plugins/admin/users/class_userManagement.inc | 3 +++ 2 files changed, 4 insertions(+) diff --git a/include/class_CopyPasteHandler.inc b/include/class_CopyPasteHandler.inc index 963e3df67..35b1937ef 100644 --- a/include/class_CopyPasteHandler.inc +++ b/include/class_CopyPasteHandler.inc @@ -139,6 +139,7 @@ class CopyPasteHandler { } }else{ $this->current->save(); + $this->lastdn = $this->current->dn; $this->dialogOpen =false; $this->Clear(); } diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index 71ce462eb..9159587ac 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -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; -- 2.30.2