X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fdepartments%2Fmain.inc;h=dfe4471f48b87604250e78eb3553c41055d515ea;hb=ce6fc44d54a388d3319f85d8614c2e9a3d2ba45b;hp=d39f109f3d9d2dfe03376a45da71c4d7f5dc1017;hpb=15f8901ad04f57483aa081b0a6b1950a6d3cae5e;p=gosa.git
diff --git a/plugins/admin/departments/main.inc b/plugins/admin/departments/main.inc
index d39f109f3..dfe4471f4 100644
--- a/plugins/admin/departments/main.inc
+++ b/plugins/admin/departments/main.inc
@@ -35,7 +35,7 @@ if ($remove_lock){
/* Page header*/
if (isset($_SESSION['objectinfo'])){
- $display= print_header(get_template_path('images/department.png'), _("Department management"), "
".$_SESSION['objectinfo']);
+ $display= print_header(get_template_path('images/department.png'), _("Department management"), "
".$_SESSION['objectinfo']);
} else {
$display= print_header(get_template_path('images/department.png'), _("Department management"));
}
@@ -48,7 +48,9 @@ if ($remove_lock){
/* Show and save dialog */
$department->save_object();
+
$display.= $output;
+
$_SESSION['department']= $department;
}