summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fffdc67)
raw | patch | inline | side by side (parent: fffdc67)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 25 May 2005 13:21:31 +0000 (13:21 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 25 May 2005 13:21:31 +0000 (13:21 +0000) |
plugins/personal/mail/class_mailAccount.inc | patch | blob | history |
diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc
index 9ccd8c4c708cfca84bcb3cb5fb0ab856606ad068..067cfdbb9f9048ebb3e1f6947771cbad62d8fcba 100644 (file)
$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);