fix displaying of events

This commit is contained in:
Georg Ehrke 2012-06-29 18:13:52 +02:00
parent 3bcf176a53
commit 652a874fa6

View file

@ -406,7 +406,9 @@ class OC_Calendar_App{
$return[] = array_merge($staticoutput, $dynamicoutput);
}
}else{
$object->expand($start, $end);
if(OC_Calendar_Object::isrepeating($id) || $event['repeating'] == 1){
$object->expand($start, $end);
}
foreach($object->getComponents() as $singleevent){
if(!($singleevent instanceof Sabre_VObject_Component_VEvent)){
continue;