Skip to content

Commit bc3e39d

Browse files
committed
Fix null genres breaking stuff
1 parent 898d759 commit bc3e39d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OculusDB/Database/DBApplication.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public string categoryFormatted
8080
public List<string> genresFormatted {
8181
get
8282
{
83-
return genres.ConvertAll(x => OculusConverter.FormatOculusEnumString(x.ToString()));
83+
return genres != null ? genres.ConvertAll(x => OculusConverter.FormatOculusEnumString(x.ToString())) : "Unknown";
8484
}
8585
}
8686

0 commit comments

Comments
 (0)