repeat_id == 999 was not handled in churchcore_db.inc (or .php), so there are "Zu viele Wiederholungen in getAllDatesWithRepeats!" errors in events with repeat_id 999.
I added
if ($r->repeat_id == CC_MANUAL_REPEATS) {
break;
}
before
// f.e. each second week is 72 => 14 days
else if ($r->repeat_id == 1 || $r->repeat_id == 7) {
$repeat = $r->repeat_id \ $r->repeat_frequence;
$d->modify("+$repeat days");
$e->modify("+$repeat days");
}
This removes the error but i am not sure if it has the wished function.
repeat_id == 999 was not handled in churchcore_db.inc (or .php), so there are "Zu viele Wiederholungen in getAllDatesWithRepeats!" errors in events with repeat_id 999. I added if ($r->repeat_id == CC_MANUAL_REPEATS) { break; }
before
// f.e. each second week is 72 => 14 days else if ($r->repeat_id == 1 || $r->repeat_id == 7) { $repeat = $r->repeat_id \ $r->repeat_frequence; $d->modify("+$repeat days"); $e->modify("+$repeat days"); }
This removes the error but i am not sure if it has the wished function.
Or change something in the while condition?