fix call in static function: use self function

This commit is contained in:
Sebijk 2023-01-22 13:23:59 +01:00
parent 5a8e28c0fd
commit e7f7e499a7

View file

@ -491,7 +491,7 @@ class BMCalendar
$end, $end,
$start); $start);
while ($row = $res->FetchArray(MYSQLI_ASSOC)) { while ($row = $res->FetchArray(MYSQLI_ASSOC)) {
$dates = BMCalendar::_getOccurencesInTimeframe($row, $start, $end); $dates = self::_getOccurencesInTimeframe($row, $start, $end);
if (count($dates) > 0) { if (count($dates) > 0) {
$remindDates = array_merge($remindDates, $dates); $remindDates = array_merge($remindDates, $dates);
} }