See Changelog

Monotone-Parent: 5950d93fbbb7ef6a3132a3c725a153f854b3e983
Monotone-Revision: 93bde4643a2fb0ad0e86c36a29a73bc23ad39c64

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-02-23T20:51:15
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle 2011-02-23 20:51:15 +00:00
parent 0fdacd7d8a
commit 3c3eb510a0
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,9 @@
2011-02-23 Francis Lachapelle <flachapelle@inverse.ca>
* SoObjects/Mailer/SOGoMailObject.m (-lookupInfoForBodyPart:): we
now compare the path with a string only if it is a string (and not
an array).
* SoObjects/Appointments/SOGoAppointmentFolder.m
(-fixupCycleRecord:cycleRange:firstInstanceCalendarDateRange:withEventTimeZone:):
avoid fixing the timezone if no event timezone is defined.

View file

@ -349,14 +349,10 @@ static BOOL debugSoParts = NO;
return nil;
}
if ([_path isEqualToString: @"text"]) {
return info;
}
/* ensure array argument */
if ([_path isKindOfClass:[NSString class]]) {
if ([_path length] == 0)
if ([_path length] == 0 || [_path isEqualToString: @"text"])
return info;
_path = [_path componentsSeparatedByString: @"."];