From cfb9c764ca06ad431925aaa4dcf8dc35ed3fb394 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;