Monotone-Parent: 0b8453c1e1ca97f10acca6a72c72e8f6b29907d6

Monotone-Revision: 08e8d0fb761a61568f208c502269083b0b66bb25

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-01-18T22:59:43
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-01-18 22:59:43 +00:00
parent 88d952fa5b
commit 339d4b8e18
2 changed files with 11 additions and 2 deletions
+6
View File
@@ -1,3 +1,9 @@
2008-01-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Contacts/SOGoFolder+CardDAV.m ([SOGoFolder
-davAddressbookQuery:queryContext]): when empty values are fed to
SOGo, their dictionary should be explicitly set to nil.
2008-01-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoCache.m ([SOGoCache
+5 -2
View File
@@ -95,14 +95,17 @@
[self _isValidFilter: [filterElement attribute: @"name"]])
{
ranges = [filterElement getElementsByTagName: @"text-match"];
if ([(NSArray *)ranges count] && [(NSArray *)[[ranges objectAtIndex: 0] childNodes] count])
if ([(NSArray *)ranges count]
&& [(NSArray *)[[ranges objectAtIndex: 0] childNodes] count])
{
filterData = [NSMutableDictionary new];
[filterData autorelease];
[filterData setObject: [[(NSArray *)[[ranges objectAtIndex: 0] childNodes] lastObject] data]
forKey: [filterElement attribute: @"name"]];
}
else
filterData = nil;
}
else
filterData = nil;