From c2abaab456af8af1d666c1ee7ff8172c90a2a2de Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 5 Sep 2014 15:08:16 +0000 Subject: [PATCH] fix for taglist-email now returning null for empty, causing mail-accounts without forwards and aliases to not store --- emailadmin/inc/class.emailadmin_account.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emailadmin/inc/class.emailadmin_account.inc.php b/emailadmin/inc/class.emailadmin_account.inc.php index 55e350e621..191b4a5bae 100644 --- a/emailadmin/inc/class.emailadmin_account.inc.php +++ b/emailadmin/inc/class.emailadmin_account.inc.php @@ -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')