fix for taglist-email now returning null for empty, causing mail-accounts without forwards and aliases to not store

This commit is contained in:
Ralf Becker 2014-09-05 15:08:16 +00:00
parent fa50e7985a
commit c2abaab456

View File

@ -1062,7 +1062,7 @@ class emailadmin_account implements ArrayAccess
if ($user > 0 && $data['acc_smtp_type'] && $data['acc_smtp_type'] != 'emailadmin_smtp')
{
$smtp = self::_smtp($data);
$smtp->setUserData($user, $data['mailAlternateAddress'], $data['mailForwardingAddress'],
$smtp->setUserData($user, (array)$data['mailAlternateAddress'], (array)$data['mailForwardingAddress'],
$data['deliveryMode'], $data['accountStatus'], $data['mailLocalAddress'], $data['quotaLimit']);
}
if ($user > 0 && $data['acc_imap_type'] && $data['acc_imap_type'] != 'emailadmin_imap')