Skip to content

Commit

Permalink
Fix NPE in GetTitles
Browse files Browse the repository at this point in the history
  • Loading branch information
da3dsoul committed Nov 20, 2023
1 parent 9be5d94 commit 9634063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/Utilities/Languages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static List<TitleLanguage> PreferredNamingLanguageNames
{
get
{
if (_preferredNamingLanguages != null) return _preferredNamingLanguageNames;
if (_preferredNamingLanguageNames != null) return _preferredNamingLanguageNames;
_preferredNamingLanguageNames = PreferredNamingLanguages.Select(a => a.Language).ToList();
return _preferredNamingLanguageNames;
}
Expand Down

0 comments on commit 9634063

Please sign in to comment.