Skip to content

Commit 7aae39e

Browse files
author
Jack Brookes
committed
null check
1 parent 68d1d2a commit 7aae39e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/UXF/Scripts/FileIOManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public void WriteTrials(List<ResultsDictionary> dictList, WriteFileInfo writeFil
236236
object val;
237237
try { val = dict[header]; }
238238
catch (KeyNotFoundException) { val = string.Empty; }
239-
239+
if (val == null) val = string.Empty;
240240
return val.ToString();
241241
}
242242
);

0 commit comments

Comments
 (0)