mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-24 02:24:39 +00:00
Include the UID of the card which caused us to hit the RRULE limit
This will helpfully assist tracking down issues with recurrence rules.
This commit is contained in:
parent
dca1eb75da
commit
ccedbd1be9
@ -1184,7 +1184,7 @@ function rrule_expand( $dtstart, $property, $component, $range_end, $is_date=nul
|
|||||||
$expansion[$date->FloatOrUTC($return_floating_times)] = $component;
|
$expansion[$date->FloatOrUTC($return_floating_times)] = $component;
|
||||||
if ( $date > $range_end ) break;
|
if ( $date > $range_end ) break;
|
||||||
if ( $i++ >= $c->rrule_expansion_limit ) {
|
if ( $i++ >= $c->rrule_expansion_limit ) {
|
||||||
dbg_error_log( 'ERROR', "Hit rrule expansion limit of ".$c->rrule_expansion_limit." - increase rrule_expansion_limit in config to avoid events missing from freebusy" );
|
dbg_error_log( 'ERROR', "Hit rrule expansion limit of ".$c->rrule_expansion_limit." on %s %s - increase rrule_expansion_limit in config to avoid events missing from freebusy", $component->GetType(), $component->GetProperty('UID'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// if ( DEBUG_RRULE ) print_r( $expansion );
|
// if ( DEBUG_RRULE ) print_r( $expansion );
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user