Code

Fixed save_object for deps
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 May 2006 07:32:44 +0000 (07:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 May 2006 07:32:44 +0000 (07:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3358 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/departments/main.inc

index 8475c9d40d6dd4e7dcf8f61a62c1a35f5f7728cf..4512d6954a1e6100bb5995fe09cfcb2ebca35d3d 100644 (file)
@@ -31,6 +31,8 @@ if ($remove_lock){
                $_SESSION['department']= new departmentManagement($config, $ui);
        }
        $department= $_SESSION['department'];
+       
+       /* Show and save dialog */
        $department->save_object();
        $output= $department->execute();
 
@@ -47,11 +49,7 @@ if ($remove_lock){
                sess_del ('department');
        }
 
-       /* Show and save dialog */
-       $department->save_object();
-
        $display.= $output;
-
        $_SESSION['department']= $department;
 }