summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-06-09 15:13:09 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-06-09 15:15:00 +0200
commitcfb9c764ca06ad431925aaa4dcf8dc35ed3fb394 (patch)
tree9cb8a59c88462a206f83cc9650192ac481450cc8
parent001293a702be1373c327bc8d5222df3924a7f66a (diff)
downloadnextcloud-server-cfb9c764ca06ad431925aaa4dcf8dc35ed3fb394.tar.gz
nextcloud-server-cfb9c764ca06ad431925aaa4dcf8dc35ed3fb394.zip
fix creation of monthly repeated events
-rw-r--r--apps/calendar/lib/object.php3
1 files changed, 3 insertions, 0 deletions
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;