mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-23 17:26:02 +00:00
When a VEVENT has an invalid repeat frequency we pretend it is DAILY.
And log an error, just to be obnoxious.
This commit is contained in:
parent
2538835a12
commit
1cfc01758d
@ -756,6 +756,9 @@ class RepeatRule {
|
||||
return array( 'bymonth' => 'limit', 'bymonthday' => 'limit',
|
||||
'byday' => 'limit', 'byhour' => 'limit', 'byminute' => 'limit', 'bysecond' => 'limit' );
|
||||
}
|
||||
dbg_error_log('ERROR','Invalid frequency code "%s" - pretending it is "DAILY"', $freq);
|
||||
return array( 'bymonth' => 'limit', 'bymonthday' => 'limit',
|
||||
'byday' => 'limit', 'byhour' => 'expand', 'byminute' => 'expand', 'bysecond' => 'expand' );
|
||||
}
|
||||
|
||||
private function GetMoreInstances($return_floating_times=false) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user