Code

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

gosa-core/plugins/admin/departments/class_department.inc

index 277f6e674370b03e88966c8a819ec37a8ab6fe2c..391b59e658c03afc0779b9d24f8a8f9e0276a87c 100644 (file)
@@ -189,7 +189,7 @@ class department extends plugin
       }
       if($this->dialog && 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];