mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-19 06:27:15 +00:00
Bug fix: Error thrown on list containing null item
This commit is contained in:
@@ -41,6 +41,8 @@ namespace bnhtrade.Core.Logic.Stock
|
||||
{
|
||||
CacheInnit();
|
||||
|
||||
typeCodeList.RemoveAll(string.IsNullOrWhiteSpace);
|
||||
|
||||
if (typeCodeList == null || !typeCodeList.Any())
|
||||
{
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user