From 3fdad7c16085f129f1fcde9debefdf0c531872f7 Mon Sep 17 00:00:00 2001 From: ralf Date: Thu, 8 Sep 2022 18:42:46 +0200 Subject: [PATCH] fix error when downgrading from EPL --- mail/inc/class.mail_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 0fcac38212..8c2ced21f3 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -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()); }