mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-08 05:17:15 +00:00
Monotone-Parent: 7e0e7f16482ee3ae19401f5ff1f7b42154de45a5
Monotone-Revision: 641127c41cfee5608e04c80873154e605d00e178 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-09-17T03:38:42 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
8e481d1407
commit
3556365e47
2 files changed
+13
-6
No files matched your search
@@ -492,13 +492,16 @@ static BOOL kontactGroupDAV = YES;
|
||||
if ([realPathArray count] > 2)
|
||||
{
|
||||
objectName = [realPathArray objectAtIndex: 2];
|
||||
objectDescription = [objectName componentsSeparatedByString: @"_"];
|
||||
if ([objectDescription count] > 1)
|
||||
if ([objectName isKindOfClass: [NSString class]])
|
||||
{
|
||||
[realPathArray replaceObjectAtIndex: 0
|
||||
withObject: [objectDescription objectAtIndex: 0]];
|
||||
[realPathArray replaceObjectAtIndex: 2
|
||||
withObject: [objectDescription objectAtIndex: 1]];
|
||||
objectDescription = [objectName componentsSeparatedByString: @"_"];
|
||||
if ([objectDescription count] > 1)
|
||||
{
|
||||
[realPathArray replaceObjectAtIndex: 0
|
||||
withObject: [objectDescription objectAtIndex: 0]];
|
||||
[realPathArray replaceObjectAtIndex: 2
|
||||
withObject: [objectDescription objectAtIndex: 1]];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user