forked from extern/egroupware
fix PHP Fatal error: Uncaught TypeError: Argument 3 passed to stylite_mail_spamtitan::sync_aliases() must be of the type array, null given
This commit is contained in:
parent
9ba44fb120
commit
fee81c93b1
@ -956,7 +956,7 @@ class mail_ui
|
|||||||
{
|
{
|
||||||
$data = Api\Mail\Account::read($this->mail_bo->profileID)->smtpServer()->getUserData($GLOBALS['egw_info']['user']['account_id']);
|
$data = Api\Mail\Account::read($this->mail_bo->profileID)->smtpServer()->getUserData($GLOBALS['egw_info']['user']['account_id']);
|
||||||
if (($m = stylite_mail_spamtitan::setActionItems('sync_aliases',
|
if (($m = stylite_mail_spamtitan::setActionItems('sync_aliases',
|
||||||
array(array_merge((array)$data['mailLocalAddress'], $data['mailAlternateAddress'])), array(
|
array(array_merge((array)$data['mailLocalAddress'], (array)$data['mailAlternateAddress'])), array(
|
||||||
'userpwd' => $this->mail_bo->icServer->acc_imap_password,
|
'userpwd' => $this->mail_bo->icServer->acc_imap_password,
|
||||||
'user' => $this->mail_bo->icServer->acc_imap_username,
|
'user' => $this->mail_bo->icServer->acc_imap_username,
|
||||||
'api_url' => $this->mail_bo->icServer->acc_spam_api
|
'api_url' => $this->mail_bo->icServer->acc_spam_api
|
||||||
|
Loading…
Reference in New Issue
Block a user