Fix possible exception when retrieving reminder

Fixes #2744
This commit is contained in:
Francis Lachapelle
2014-04-29 14:26:18 -04:00
parent ba7b65cf7b
commit 8c563c2922
+1 -1
View File
@@ -1162,7 +1162,7 @@ iRANGE(2);
if ([[self clientObject] isNew])
{
NSString *value;
int index;
NSUInteger index;
value = [userDefaults calendarDefaultReminder];
index = [reminderValues indexOfObject: value];