From 84cc8ebdf1ab582dd72133ea412ee115cde442b7 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 25 May 2005 13:21:31 +0000 Subject: [PATCH] Fixed other select box issues git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@454 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/mail/class_mailAccount.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc index 9ccd8c4c7..067cfdbb9 100644 --- a/plugins/personal/mail/class_mailAccount.inc +++ b/plugins/personal/mail/class_mailAccount.inc @@ -501,25 +501,25 @@ class mailAccount extends plugin $smarty->assign("custom_sieveACL", chkacl($this->acl, "custom_sieve")); $smarty->assign("only_localACL", chkacl($this->acl, "only_local")); - if(isset($this->gosaMailAlternateAddress)&&($this->gosaMailAlternateAddress)){ + if(count($this->gosaMailAlternateAddress)){ $smarty->assign("SELECT_gosaMailAlternateAddress",true); } else { $smarty->assign("SELECT_gosaMailAlternateAddress",false); } - if(isset($this->spambox)&&($this->spambox)){ + if(count($this->spambox)){ $smarty->assign("SELECT_spambox",true); } else { $smarty->assign("SELECT_spambox",false); } - if(isset($this->vacationtemplates)&&($this->vacationtemplates)) { + if(count($this->vacation)) { $smarty->assign("SELECT_vacationtemplates",true); } else { $smarty->assign("SELECT_vacationtemplates",false); } - if(isset($this->gosaMailForwardingAddress)&&($this->gosaMailForwardingAddress)){ + if(count($this->gosaMailForwardingAddress)){ $smarty->assign("SELECT_gosaMailForwardingAddress",true); } else { $smarty->assign("SELECT_gosaMailForwardingAddress",false); -- 2.30.2