diff --git a/src/Model/Event.php b/src/Model/Event.php index 6cb73f4c37..1d36a6ffea 100644 --- a/src/Model/Event.php +++ b/src/Model/Event.php @@ -397,7 +397,7 @@ class Event { // First day of the week (0 = Sunday). $firstDay = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'calendar', 'first_day_of_week') ?? 0; - $defaultView = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'calendar', 'defaultView') ?? 'month'; + $defaultView = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'calendar', 'default_view') ?? 'month'; return [ 'firstDay' => $firstDay,