diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 6ec664a22f..62aa739a7f 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -1010,7 +1010,7 @@ class mail_ui ); $account = Mail\Account::read($this->mail_bo->profileID); // spamTitan actions - if ($GLOBALS['egw_info']['apps']['stylite'] && $account->acc_spam_api) + if ($account->acc_spam_api) { $actions['spamfilter']['children'] = array_merge($actions['spamfilter']['children'], stylite_mail_spamtitan::getActions()); }