From 009fbd89b46ef5b6a77fde9a49b9a0109157b886 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Sat, 9 Jun 2012 15:13:09 +0200 Subject: [PATCH] fix creation of monthly repeated events --- apps/calendar/lib/object.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/calendar/lib/object.php b/apps/calendar/lib/object.php index cc80a0bb70..9e4806227b 100644 --- a/apps/calendar/lib/object.php +++ b/apps/calendar/lib/object.php @@ -665,6 +665,9 @@ class OC_Calendar_Object{ $byday .= ',' . $weekofmonth . $days[$day]; } } + if($byday == ''){ + $byday = 'MO,TU,WE,TH,FR,SA,SU'; + } $rrule .= ';BYDAY=' . $byday; } break;