|
@@ -361,7 +361,7 @@ class FreshRSS_user_Controller extends FreshRSS_ActionController {
|
|
|
$configPath = '';
|
|
$configPath = '';
|
|
|
|
|
|
|
|
if ($ok) {
|
|
if ($ok) {
|
|
|
- if (!Minz_Translate::exists(is_string($userConfig['language']) ? $userConfig['language'] : '')) {
|
|
|
|
|
|
|
+ if (!Minz_Translate::exists(is_string($userConfig['language'] ?? null) ? $userConfig['language'] : '')) {
|
|
|
$userConfig['language'] = Minz_Translate::DEFAULT_LANGUAGE;
|
|
$userConfig['language'] = Minz_Translate::DEFAULT_LANGUAGE;
|
|
|
}
|
|
}
|
|
|
|
|
|