Fixed cronjobs

This commit is contained in:
2026-05-14 16:58:41 +02:00
parent 30cc0b79c5
commit 454d83de2e
4 changed files with 34 additions and 18 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ class CloseEvent implements CronTask {
$eventRepository = new EventRepository();
/** @var Event $event */
foreach ($eventRepository->getAvailable(false) as $event) {
if ($event->registration_final_end < $now ) {
if ($event->registration_final_end <= $now ) {
$event->registration_allowed = false;
$event->save();
}