Skip to content

Commit 46438ba

Browse files
authored
Merge pull request #5 from terrex/master
Fix possible NullPointerException in field name.
2 parents 1e2fea0 + 87c70ad commit 46438ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NSF2SQL/Form1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ private void bExportDocuments_Click(object sender, EventArgs ea)
383383
}
384384
string field = item.Name;
385385
//exclude fields that start with $ and the Form field and Readers field
386-
if (excludeField.IsMatch(field))
386+
if (field == null || excludeField.IsMatch(field))
387387
{
388388
continue;
389389
}

0 commit comments

Comments
 (0)