From 8b9ceb327335a7995374472939c78665d035b148 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Fri, 19 Aug 2016 11:45:15 -0400 Subject: [PATCH] (fix) allow multiple space-delimited addresses in the MailFieldNames column --- SoObjects/SOGo/SQLSource.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/SOGo/SQLSource.m b/SoObjects/SOGo/SQLSource.m index 50091584a..940d057d5 100644 --- a/SoObjects/SOGo/SQLSource.m +++ b/SoObjects/SOGo/SQLSource.m @@ -515,7 +515,7 @@ for (i = 0; i < [_mailFields count]; i++) if ((s = [response objectForKey: [_mailFields objectAtIndex: i]]) && [[s stringByTrimmingSpaces] length] > 0) - [emails addObject: s]; + [emails addObjectsFromArray: [s componentsSeparatedByString: @" "]]; } [response setObject: emails forKey: @"c_emails"];