Monotone-Parent: 16bafd35c923b43175977acf723114a90f37d677

Monotone-Revision: ff35c4a69655239a569e90ab2fcc971a46c7b83f

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-07-11T17:26:11
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-07-11 17:26:11 +00:00
parent a5838d63b0
commit a3671f52a0
+4 -3
View File
@@ -60,6 +60,7 @@
- (void) dealloc
{
[item release];
[event release];
[aptStartDate release];
[aptEndDate release];
[super dealloc];
@@ -91,7 +92,7 @@
hm = [self queryParameterForKey: @"hm"];
return (isAllDay
|| (hm && [hm isEqualToString: @"allday"]));
|| [hm isEqualToString: @"allday"]);
}
- (void) setIsAllDay: (BOOL) newIsAllDay
@@ -137,7 +138,7 @@
int hour;
newStartDate = [self selectedDate];
if ([[self queryParameterForKey: @"hm"] length] == 0)
if (![[self queryParameterForKey: @"hm"] length])
{
now = [NSCalendarDate calendarDate];
timeZone = [[context activeUser] timeZone];
@@ -202,7 +203,7 @@
co = [self clientObject];
objectId = [co globallyUniqueObjectId];
if ([objectId length] > 0)
if ([objectId length])
{
method = [NSString stringWithFormat:@"%@/%@.ics/editAsAppointment",
[co soURL], objectId];