Code

tidy
[gosa.git] / plugins / personal / connectivity / class_kolabAccount.inc
index b55cc9d6410237077d0d5d698da078b26194af6b..14d3b0b777c7c81d81b694c771ac598ea3dc8e44 100644 (file)
@@ -157,7 +157,8 @@ class kolabAccount extends plugin
 
     /* Transfer delegation list */
     if (!count($this->kolabDelegate)){
-      $smarty->assign("kolabDelegate", array(""));
+      /* Smarty will produce <option value=""></option> and tidy don't like that, so tell smarty to create no option (array();)*/
+      $smarty->assign("kolabDelegate", array());
     } else {
       $smarty->assign("kolabDelegate", $this->kolabDelegate);
     }