Release 2.0.32 (#4256)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user