]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix creation of monthly repeated events
authorGeorg Ehrke <dev@georgswebsite.de>
Sat, 9 Jun 2012 13:13:09 +0000 (15:13 +0200)
committerGeorg Ehrke <dev@georgswebsite.de>
Sat, 9 Jun 2012 13:40:27 +0000 (15:40 +0200)
apps/calendar/lib/object.php

index cc80a0bb708d3c0ef9b6f154dd467dc9b91bfe8a..9e4806227b06561c894ca0b7c8007c3a17e4a2b1 100644 (file)
@@ -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;