Fixed custom action null column decompilation.
Bob Arnson committed
Aug 24, 2020 at 21:11 UTC
46278b45b909964ffc6ec3f4fccef07c4931bf55
1 file changed
+1
-1
src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs
+1
-1
@@ -3876,7 +3876,7 @@ namespace WixToolset.Core.WindowsInstaller
3876
{
3877
var xRow = new XElement(Names.RowElement);
3878
3879
- foreach (var field in row.Fields)
3879
+ foreach (var field in row.Fields.Where(f => f.Data != null))
3880
{
3881
var xData = new XElement(Names.DataElement,
3882
new XAttribute("Column", field.Column.Name),