mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-28 13:51:44 +02:00
need to check both, mail-account and overwrites for SpamTitan API
This commit is contained in:
parent
ef36fafb53
commit
b2922e300a
@ -1075,7 +1075,7 @@ class mail_ui
|
||||
);
|
||||
$account = Mail\Account::read($this->mail_bo->profileID);
|
||||
// spamTitan actions
|
||||
if ($account->acc_spam_api && class_exists('stylite_mail_spamtitan'))
|
||||
if (($account->acc_spam_api || !empty($account->getParamOverwrites()['acc_spam_api'])) && class_exists('stylite_mail_spamtitan'))
|
||||
{
|
||||
$actions['spamfilter']['children'] = array_merge($actions['spamfilter']['children'], stylite_mail_spamtitan::getActions());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user