diff --git a/SoObjects/Contacts/NGVCard+SOGo.m b/SoObjects/Contacts/NGVCard+SOGo.m index 9080d4ac4..8320680b7 100644 --- a/SoObjects/Contacts/NGVCard+SOGo.m +++ b/SoObjects/Contacts/NGVCard+SOGo.m @@ -264,7 +264,9 @@ convention: atIndex: 6 forKey: @""]; ou = [ldifRecord objectForKey: @"ou"]; - if (ou) + if ([ou isKindOfClass: [NSArray class]]) + units = [NSArray arrayWithArray: ou]; + else if (ou) units = [NSArray arrayWithObject: ou]; else units = nil;