Don't allow weird invalid repeat value only containing the ;FROM_COMPLETION flag

pull/14/head
Sam Bosley 11 years ago
parent 548706a6e0
commit 3af22f6ca9

@ -367,7 +367,7 @@ public class RepeatControlSet extends PopupControlSet {
result = rrule.toIcal();
}
if (type.getSelectedItemPosition() == TYPE_COMPLETION_DATE) {
if (type.getSelectedItemPosition() == TYPE_COMPLETION_DATE && !TextUtils.isEmpty(result)) {
result = result + ";FROM=COMPLETION"; //$NON-NLS-1$
}

Loading…
Cancel
Save