Code

fix
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Sep 2005 11:54:27 +0000 (11:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Sep 2005 11:54:27 +0000 (11:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1304 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_printGeneric.inc

index 642f60f39605ab4ddd4112a53af9985a3acba96d..28c81aac41d883ca50cca244646e60d658a87f5e 100644 (file)
@@ -149,11 +149,12 @@ class printgeneric extends plugin
     }
 
     if($this->is_terminal){
-      if(empty($this->cn))
+      if(empty($this->cn)){
         $display= $this->show_header(_("Add printer extension"),
               _("This workstation has printer extension disabled. You can't enable it while 'cn' is not present in entry. Possibly you are currently creating a new terminal template"),TRUE,TRUE);
         $this->is_account= false;
         return $display;
+       }
 
        if ($this->is_account){
         if($this->type=="station"){