From f90f37727f175d7b54fe6725fc856e7412311ca1 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 2 Sep 2005 11:54:27 +0000 Subject: [PATCH] fix git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1304 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_printGeneric.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index 642f60f39..28c81aac4 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -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"){ -- 2.30.2