From: Georg Ehrke Date: Sat, 9 Jun 2012 13:13:09 +0000 (+0200) Subject: fix creation of monthly repeated events X-Git-Tag: v4.5.0beta1~74^2~422^2~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cfb9c764ca06ad431925aaa4dcf8dc35ed3fb394;p=nextcloud-server.git fix creation of monthly repeated events --- diff --git a/apps/calendar/lib/object.php b/apps/calendar/lib/object.php index cc80a0bb708..9e4806227b0 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;