Revert "Fixup empty calendars, sogod crashing when it tries to call"

This commit is contained in:
extrafu
2016-12-30 10:06:47 -05:00
committed by GitHub
parent 559bdf15a8
commit 3a33b465c8

View File

@@ -493,7 +493,7 @@ static NSArray *tasksFields = nil;
for (i = 0; i < count; i++)
{
currentInfo = [newInfoForComponent objectAtIndex: i];
if (![currentInfo isEqual:[NSNull null]] && [currentInfo respondsToSelector: @selector (stringByEscapingHTMLString)])
if ([currentInfo respondsToSelector: @selector (stringByEscapingHTMLString)])
[newInfoForComponent replaceObjectAtIndex: i withObject: [currentInfo stringByEscapingHTMLString]];
}
[infos addObject: newInfoForComponent];