mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 01:28:08 -04:00
fix a bug in OC_Calendar_Repeat
This commit is contained in:
parent
9edd40354e
commit
08a3a4f185
1 changed files with 2 additions and 2 deletions
|
|
@ -185,8 +185,8 @@ class OC_Calendar_Repeat{
|
|||
$cachedevents = count(self::getcalendar($id));
|
||||
$repeatingevents = 0;
|
||||
$allevents = OC_Calendar_Object::all($id);
|
||||
foreach($allevents['repeating'] as $repeating){
|
||||
if($repeating === 1){
|
||||
foreach($allevents as $event){
|
||||
if($event['repeating'] === 1){
|
||||
$repeatingevents++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue