mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-26 12:38:56 +00:00
(fix) return if not content is there, to avoid random crash
This commit is contained in:
1 parent
a42d6ce450
commit
59281f02c1
1 file changed
+4
-1
@@ -618,7 +618,10 @@
|
||||
if (content)
|
||||
ASSIGN (originalCalendar, [iCalCalendar parseSingleFromSource: content]);
|
||||
else
|
||||
[self warnWithFormat: @"content not available, we will crash"];
|
||||
{
|
||||
[self warnWithFormat: @"content not available, we don't update the event"];
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
oldMaster = (iCalRepeatableEntityObject *)
|
||||
|
||||
Reference in new issue
Block a user