Release 2.0.32 (#4256)

This commit is contained in:
Kevin Papst
2023-08-31 15:33:53 +02:00
committed by GitHub
parent 452de88e18
commit 31348da4c0
42 changed files with 412 additions and 130 deletions

View File

@@ -94,6 +94,7 @@ final class CalendarController extends AbstractController
'config' => $config,
'dragAndDrop' => $dragAndDrop,
'google' => $this->calendarService->getGoogleSources($profile),
'sources' => $this->calendarService->getSources($profile),
'now' => $factory->createDateTime(),
'defaultStartTime' => $defaultStart,
'is_punch_mode' => $isPunchMode,

View File

@@ -46,7 +46,7 @@ final class HomepageController extends AbstractController
// if a user somehow managed to get a wrong locale into hos account (eg. an imported user from Kimai 1)
// make sure that he will still see a beautiful page and not a 404
if (!$service->isKnownLocale($userLanguage)) {
$userLanguage = $service->getDefaultLocale();
$userLanguage = 'en';
}
$routes = [];