mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Do not try to get mailbody if no spamTitan feature is configured
This commit is contained in:
parent
1da1ac2fd8
commit
02cd6ad719
@ -922,7 +922,7 @@ class mail_ui
|
|||||||
// Current Mailbox
|
// Current Mailbox
|
||||||
$mailbox = $id_parts['folder'];
|
$mailbox = $id_parts['folder'];
|
||||||
$messages[] = $params['row_id'];
|
$messages[] = $params['row_id'];
|
||||||
if ($GLOBALS['egw_info']['apps']['stylite'])
|
if ($GLOBALS['egw_info']['apps']['stylite'] && $this->mail_bo->icServer->acc_spam_api)
|
||||||
{
|
{
|
||||||
$params['mailbody'] = $this->get_load_email_data($params['uid'], null, $mailbox);
|
$params['mailbody'] = $this->get_load_email_data($params['uid'], null, $mailbox);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user