mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-20 02:28:11 +00:00
(fix) handle multi-value org units
This commit is contained in:
1 parent
11844283d1
commit
a8574d8e75
1 file changed
+3
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user