ImportZUGFeRD: fix shti

This commit is contained in:
Jonathan Jenne
2019-05-10 17:19:45 +02:00
parent 2e19d878e0
commit cc9ab1b0b0
3 changed files with 46 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ Public Class PropertyValues
Dim oNameParts As String() = PropertyName.Split("."c)
If IsNothing(Obj) Then
Return Nothing
Return New List(Of Object)
End If
If oNameParts.Length = 1 Then
@@ -31,11 +31,11 @@ Public Class PropertyValues
Dim oInfo As PropertyInfo = oType.GetProperty(oPartName)
If IsNothing(oInfo) Then
Return Nothing
Return New List(Of Object)
End If
If IsNothing(oInfo.GetValue(Obj, Nothing)) Then
Return Nothing
Return New List(Of Object)
End If
Obj = oInfo.GetValue(Obj, Nothing)