Commit 3d5b2c80 authored by joelpittet's avatar joelpittet Committed by joseph.olstad

Issue #3073378 by joelpittet: EXDATE empty causes errors

parent 47cd7005
......@@ -533,7 +533,7 @@ class ParserVcalendar {
}
// Combine the parts back together with an EXDATE; specifier in front.
$exdate = 'EXDATE;' . implode(',', $exdate_parts);
$exdate = !empty($exdate_parts) ? 'EXDATE;' . implode(',', $exdate_parts) : '';
return "$rrule|$rdate|$exrule|$exdate";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment