mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-20 02:28:11 +00:00
fix(calendar): When an event has no date (weird case), it is not possible to remove the event (NSException)
This commit is contained in:
1 parent
e959583390
commit
4d2c77195e
1 file changed
+1
-1
@@ -850,7 +850,7 @@
|
||||
attachUrls = [self attachUrls];
|
||||
if ([attachUrls count]) [data setObject: attachUrls forKey: @"attachUrls"];
|
||||
|
||||
if (!isAllDay)
|
||||
if (!isAllDay && eventStartDate && eventStartDate)
|
||||
{
|
||||
[data setObject: [dateFormatter formattedTime: eventStartDate] forKey: @"localizedStartTime"];
|
||||
[data setObject: [dateFormatter formattedTime: eventEndDate] forKey: @"localizedEndTime"];
|
||||
|
||||
Reference in new issue
Block a user