From 95dcb0034d73afb2a24aae9567522104f9178c32 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 27 May 2005 16:57:55 +0000 Subject: [PATCH] Fixed W3C problem with empty select boxes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@491 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/connectivity/class_kolabAccount.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/personal/connectivity/class_kolabAccount.inc b/plugins/personal/connectivity/class_kolabAccount.inc index c8b9b5537..09c3e8333 100644 --- a/plugins/personal/connectivity/class_kolabAccount.inc +++ b/plugins/personal/connectivity/class_kolabAccount.inc @@ -156,7 +156,11 @@ class kolabAccount extends plugin } /* Transfer delegation list */ - $smarty->assign("kolabDelegate", $this->kolabDelegate); + if (!count($this->kolabDelegate)){ + $smarty->assign("kolabDelegate", array("")); + } else { + $smarty->assign("kolabDelegate", $this->kolabDelegate); + } $smarty->assign("kolabDelegateACL", chkacl($this->acl, $this->kolabDelegate)); /* Create InvitationPolicy table */ -- 2.30.2