mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-09 04:19:43 +00:00
Fix for recurrent task edition
Monotone-Parent: 7d7fda1fe8fdf96d8a846378379c8a49661b7e7b Monotone-Revision: 04613672d5bbddb489f5e265a0540411ae9b2fa3 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-07-14T14:55:59 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -476,6 +476,14 @@ static inline BOOL _occurenceHasID (iCalRepeatableEntityObject *occurence, NSStr
|
||||
NSCalendarDate *recID, *newDate;
|
||||
|
||||
// Compute time interval from previous event definition.
|
||||
if (!originalCalendar)
|
||||
{
|
||||
if (content)
|
||||
ASSIGN (originalCalendar, [iCalCalendar parseSingleFromSource: content]);
|
||||
else
|
||||
[self warnWithFormat: @"content not available, we will crash"];
|
||||
}
|
||||
|
||||
oldMaster = (iCalRepeatableEntityObject *)
|
||||
[originalCalendar firstChildWithTag: [self componentTag]];
|
||||
deltaSecs = [[newEvent startDate]
|
||||
|
||||
Reference in New Issue
Block a user