Avoid default null as collection key.
This commit is contained in:
parent
c20af38a2e
commit
f1790608e8
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ namespace Observatory.Botanist
|
||||||
private object GetColonyDistance(ScanOrganic scan)
|
private object GetColonyDistance(ScanOrganic scan)
|
||||||
{
|
{
|
||||||
// Try find a genus name.
|
// Try find a genus name.
|
||||||
string genusName = null;
|
string genusName = String.Empty;
|
||||||
if (scan.Genus_Localised != null)
|
if (scan.Genus_Localised != null)
|
||||||
{
|
{
|
||||||
genusName = scan.Genus_Localised;
|
genusName = scan.Genus_Localised;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue