diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-10-13 11:02:26 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-10-13 20:33:29 +0200 |
commit | 2148c448cc0f5ab891e649b0a2a4d32f1075012a (patch) | |
tree | db10150894349c6ed8c97e3833052093ad37553b /apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php | |
parent | c6166c0a374257b785b90ccb15c90ee30e9ce192 (diff) | |
download | nextcloud-server-2148c448cc0f5ab891e649b0a2a4d32f1075012a.tar.gz nextcloud-server-2148c448cc0f5ab891e649b0a2a4d32f1075012a.zip |
Fix default language detection for calendar notifications
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php')
-rw-r--r-- | apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php index 8df6ef06fa5..044e5fac4e2 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php @@ -104,7 +104,7 @@ abstract class AbstractProvider implements INotificationProvider { return $this->fallbackLanguage; } - $fallbackLanguage = $this->l10nFactory->findLanguage(); + $fallbackLanguage = $this->l10nFactory->findGenericLanguage(); $this->fallbackLanguage = $fallbackLanguage; return $fallbackLanguage; |