mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-07 21:51:13 -07:00
Fixed #4290
This commit is contained in:
parent
7119407141
commit
45b692c8d2
1 changed files with 4 additions and 0 deletions
|
@ -173,6 +173,10 @@ namespace Ombi.Core.Engine
|
||||||
return currentCode;
|
return currentCode;
|
||||||
}
|
}
|
||||||
var user = await GetUser();
|
var user = await GetUser();
|
||||||
|
if (user == null)
|
||||||
|
{
|
||||||
|
return "en";
|
||||||
|
}
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(user.Language))
|
if (string.IsNullOrEmpty(user.Language))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue