Fix extraction of mail column from SQL source

Fixes #3544
pull/201/head
Francis Lachapelle 2016-02-29 11:55:57 -05:00
parent 30f23ba07a
commit 3529d52c3b
2 changed files with 3 additions and 0 deletions

1
NEWS
View File

@ -39,6 +39,7 @@ Bug fixes
- [web] fixed default priority of sent messages (#3542)
- [web] removed double-quotes from Chinese (Taiwan) translations that were breaking templates
- [web] fixed unseen count retrieval of nested IMAP folders
- [web] properly extract the mail column values from an SQL contacts source (#3544)
- [eas] allow EAS attachments get on 2nd-level mailboxes (#3505)
- [eas] fix EAS bday shift (#3518)

View File

@ -249,6 +249,8 @@
// mail => emails[]
data = [oldRecord objectForKey: @"c_emails"];
if (!data)
data = [oldRecord objectForKey: @"mail"];
if (data)
{
if ([data isKindOfClass: [NSArray class]])