From 1b9e1804439895adaa3fa719536d73da8d1728ed Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 12 Jul 2005 07:39:24 +0000 Subject: [PATCH] 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 --- plugins/personal/posix/class_posixAccount.inc | 4 ++++ plugins/personal/posix/generic.tpl | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 @@ -- 2.30.2