diff options
-rw-r--r-- | src/WixToolset.Data/IntermediateTupleExtensions.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Data/IntermediateTupleExtensions.cs b/src/WixToolset.Data/IntermediateTupleExtensions.cs index 7fb2a6c3..95fb1b19 100644 --- a/src/WixToolset.Data/IntermediateTupleExtensions.cs +++ b/src/WixToolset.Data/IntermediateTupleExtensions.cs | |||
@@ -85,7 +85,7 @@ namespace WixToolset.Data | |||
85 | 85 | ||
86 | public static IntermediateField Set(this IntermediateTuple tuple, int index, IntermediateFieldPathValue value) | 86 | public static IntermediateField Set(this IntermediateTuple tuple, int index, IntermediateFieldPathValue value) |
87 | { | 87 | { |
88 | if (value == null && NoFieldMetadata(tuple, index)) | 88 | if (value?.Path == null && value?.BaseUri == null && NoFieldMetadata(tuple, index)) |
89 | { | 89 | { |
90 | return tuple.Fields[index] = null; | 90 | return tuple.Fields[index] = null; |
91 | } | 91 | } |