(fix) allow multiple space-delimited addresses in the MailFieldNames column

This commit is contained in:
Ludovic Marcotte
2016-08-19 11:45:15 -04:00
parent 9eab774c5e
commit 8b9ceb3273
+1 -1
View File
@@ -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"];