mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-28 15:40:14 +00:00
Omit the <response> for event outside the time range - when expanded.
This commit is contained in:
parent
32a747da8e
commit
3637c99298
@ -320,6 +320,7 @@ if ( $qry->Exec("calquery",__LINE__,__FILE__) && $qry->rows() > 0 ) {
|
||||
if ( $need_expansion ) {
|
||||
$vResource = new vComponent($calendar_object->caldav_data);
|
||||
$expanded = expand_event_instances($vResource, $expand_range_start, $expand_range_end);
|
||||
if ( $expanded->ComponentCount() == 0 ) continue;
|
||||
$calendar_object->caldav_data = $expanded->Render();
|
||||
}
|
||||
$responses[] = calendar_to_xml( $properties, $calendar_object );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user