From 1b88d17e015bfd7d8ee6e4a84c11bb06b2a43cb9 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 307348f80..f3503be45 100644 --- a/SoObjects/SOGo/SQLSource.m +++ b/SoObjects/SOGo/SQLSource.m @@ -520,7 +520,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"];