From: cajus Date: Fri, 27 May 2005 16:57:55 +0000 (+0000) Subject: Fixed W3C problem with empty select boxes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=95dcb0034d73afb2a24aae9567522104f9178c32;p=gosa.git Fixed W3C problem with empty select boxes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@491 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 */