diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-06-11 21:43:24 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-06-11 21:43:24 +0200 |
commit | 08a3a4f1859851496d7cd975d7bc2b3256a998b1 (patch) | |
tree | 27319845ba00b8f335100feca54a62030f3e5e33 /apps/calendar | |
parent | 9edd40354ee973f56b415c958270ad8a2e721697 (diff) | |
download | nextcloud-server-08a3a4f1859851496d7cd975d7bc2b3256a998b1.tar.gz nextcloud-server-08a3a4f1859851496d7cd975d7bc2b3256a998b1.zip |
fix a bug in OC_Calendar_Repeat
Diffstat (limited to 'apps/calendar')
-rw-r--r-- | apps/calendar/lib/repeat.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/lib/repeat.php b/apps/calendar/lib/repeat.php index 585fc560085..de13f1eb217 100644 --- a/apps/calendar/lib/repeat.php +++ b/apps/calendar/lib/repeat.php @@ -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++; } } |