From: hickert Date: Tue, 12 Jul 2005 07:39:24 +0000 (+0000) Subject: Fixed stupid IE Post for gosaDefaultPrinter... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1b9e1804439895adaa3fa719536d73da8d1728ed;p=gosa.git Fixed stupid IE Post for gosaDefaultPrinter... IE Posts empty and disabled Select fields... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@940 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc index 4cc45cba9..bb684b90d 100644 --- a/plugins/personal/posix/class_posixAccount.inc +++ b/plugins/personal/posix/class_posixAccount.inc @@ -920,6 +920,10 @@ class posixAccount extends plugin } } + if(empty($this->gosaDefaultPrinter)){ + $message[]= _("You need to specify a valid default printer."); + } + return ($message); } diff --git a/plugins/personal/posix/generic.tpl b/plugins/personal/posix/generic.tpl index 91300d702..7fa6c63e2 100644 --- a/plugins/personal/posix/generic.tpl +++ b/plugins/personal/posix/generic.tpl @@ -102,7 +102,7 @@