diff --git a/inc/RRule-v2.php b/inc/RRule-v2.php index 4a2058b7..6e8647cd 100644 --- a/inc/RRule-v2.php +++ b/inc/RRule-v2.php @@ -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) {