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:40:27 +0200
commit009fbd89b46ef5b6a77fde9a49b9a0109157b886 (patch)
tree326b58e0784c5494242ae39e57fae4f8b421623c
parent815eb2591ab1f095b76946993ee90454f9f2a11f (diff)
downloadnextcloud-server-009fbd89b46ef5b6a77fde9a49b9a0109157b886.tar.gz
nextcloud-server-009fbd89b46ef5b6a77fde9a49b9a0109157b886.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;