Code

Updated manager selection
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Apr 2010 06:57:32 +0000 (06:57 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Apr 2010 06:57:32 +0000 (06:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17683 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/generic/class_user.inc

index 9c9a5a6ca48b2bdd38d2117789da9d5178a78dfa..fe5b25ac9da162bb08a20dbd9d522590d08c7ab6 100644 (file)
@@ -316,8 +316,7 @@ class user extends plugin
     }
     if($this->dialog && $this->dialog instanceOf singleUserSelect && count($this->dialog->detectPostActions())){
       $users = $this->dialog->detectPostActions();
-      if(isset($users['targets']) && count($users['targets'])){
-
+      if(isset($users['action']) && $users['action'] =='edit' && isset($users['targets']) && count($users['targets'])){
         $headpage = $this->dialog->getHeadpage();
         $dn = $users['targets'][0];
         $attrs = $headpage->getEntry($dn);