diff --git a/src/Login/Settings.php b/src/Login/Settings.php index 74e0f1c..22b40d7 100644 --- a/src/Login/Settings.php +++ b/src/Login/Settings.php @@ -73,6 +73,11 @@ public function __construct(array $settings, $mode = null) // Subtract settings for mode $settings = $this->settings['login'][$key]; + // prevent update errors + if (!isset($settings['language'])) { + $settings['language'] = 'da'; + } + // Init variables $this->baseUrl = $settings['baseUrl']; $this->uiMode = $settings['uiMode'];