From fc34eda59213d86760974d894f3d117d59809ed2 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 27 Jun 2005 05:48:11 +0000 Subject: [PATCH] tidy git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@861 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/connectivity/class_kolabAccount.inc | 3 ++- plugins/personal/connectivity/kolab.tpl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/personal/connectivity/class_kolabAccount.inc b/plugins/personal/connectivity/class_kolabAccount.inc index b55cc9d64..14d3b0b77 100644 --- a/plugins/personal/connectivity/class_kolabAccount.inc +++ b/plugins/personal/connectivity/class_kolabAccount.inc @@ -157,7 +157,8 @@ class kolabAccount extends plugin /* Transfer delegation list */ if (!count($this->kolabDelegate)){ - $smarty->assign("kolabDelegate", array("")); + /* Smarty will produce and tidy don't like that, so tell smarty to create no option (array();)*/ + $smarty->assign("kolabDelegate", array()); } else { $smarty->assign("kolabDelegate", $this->kolabDelegate); } diff --git a/plugins/personal/connectivity/kolab.tpl b/plugins/personal/connectivity/kolab.tpl index bb5307df2..0798d2e1d 100644 --- a/plugins/personal/connectivity/kolab.tpl +++ b/plugins/personal/connectivity/kolab.tpl @@ -10,6 +10,7 @@ {t}Delegations{/t}