Code

Fixed attachment for printer
[gosa.git] / plugins / admin / departments / main.inc
index ee6e0bf3b3f53b2a0bf44054366d817fabfc623f..dfe4471f48b87604250e78eb3553c41055d515ea 100644 (file)
@@ -35,7 +35,7 @@ if ($remove_lock){
 
        /* Page header*/
        if (isset($_SESSION['objectinfo'])){
-               $display= print_header(get_template_path('images/department.png'), _("Department management"), "<img align=\"center\" src=\"".get_template_path('images/closedlock.png')."\"> ".$_SESSION['objectinfo']);
+               $display= print_header(get_template_path('images/department.png'), _("Department management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".$_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;
 }