]> err.no Git - scalable-opengroupware.org/blobdiff - SoObjects/Mailer/SOGoUser+Mail.m
initial sync
[scalable-opengroupware.org] / SoObjects / Mailer / SOGoUser+Mail.m
index db6ce1900fcb2aaf0460706fc8c855be104f6e25..2b3c6834fbab5d7ac018ac5fa4759d47f2d01dbe 100644 (file)
@@ -88,7 +88,7 @@
   identity = [self primaryMailIdentity];
   shares = [self valueForKey:@"additionalIMAP4AccountsAndEMails"];
   if ([shares count] == 0)
-    return identity;
+    return [NSArray arrayWithObject: identity];
   
   identities = [NSMutableArray arrayWithCapacity:[shares count] + 1];
   if (identity != nil) [identities addObject:identity];