From 77ccfdd470eee5260c68eda17fa1a5199659acf9 Mon Sep 17 00:00:00 2001
From: Moritz Strohm <strohm@data-quest.de>
Date: Tue, 26 Mar 2024 08:49:47 +0000
Subject: [PATCH] always show an all-day slot, fixes #3889

Closes #3889

Merge request studip/studip!2755
---
 app/controllers/calendar/calendar.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/controllers/calendar/calendar.php b/app/controllers/calendar/calendar.php
index 609a0b6797f..c605c01c459 100644
--- a/app/controllers/calendar/calendar.php
+++ b/app/controllers/calendar/calendar.php
@@ -341,7 +341,7 @@ class Calendar_CalendarController extends AuthenticatedController
                 'minTime'     => sprintf('%02u:00', $calendar_settings['start'] ?? 8),
                 'maxTime'     => sprintf('%02u:00', $calendar_settings['end'] ?? 20),
                 'defaultDate' => $default_date->format('Y-m-d'),
-                'allDaySlot'  => !$group_view,
+                'allDaySlot'  => true,
                 'allDayText'  => '',
                 'header'      => [
                     'left'   => (
-- 
GitLab