mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
fix error when downgrading from EPL
This commit is contained in:
parent
4e0bb13571
commit
3fdad7c160
@ -1060,7 +1060,7 @@ class mail_ui
|
||||
);
|
||||
$account = Mail\Account::read($this->mail_bo->profileID);
|
||||
// spamTitan actions
|
||||
if ($account->acc_spam_api)
|
||||
if ($account->acc_spam_api && class_exists('stylite_mail_spamtitan'))
|
||||
{
|
||||
$actions['spamfilter']['children'] = array_merge($actions['spamfilter']['children'], stylite_mail_spamtitan::getActions());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user