ResourceManager: fixed

This commit is contained in:
pavelbannov 2019-08-15 14:40:44 +03:00
parent 65563552fa
commit 2a8adce631

View File

@ -155,7 +155,7 @@ namespace ASC.Resource.Manager
toAdd.AddRange(fileWords.OrderBy(x => x.Title).Where(word => !wordsDictionary.ContainsKey(word.Title)));
}
foreach (var word in toAdd)
foreach (var word in toAdd.Where(r=> r != null))
{
if (string.IsNullOrEmpty(word.ValueTo)) continue;