diff --git a/SoObjects/Contacts/NGVCard+SOGo.m b/SoObjects/Contacts/NGVCard+SOGo.m index e811c7d7a..3053aa60f 100644 --- a/SoObjects/Contacts/NGVCard+SOGo.m +++ b/SoObjects/Contacts/NGVCard+SOGo.m @@ -293,7 +293,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;