From 32f87e25f554b7272323a9ea374a103d014ea056 Mon Sep 17 00:00:00 2001 From: pitzm Date: Tue, 25 Feb 2025 13:46:58 +0100 Subject: [PATCH] Modules.Interfaces: PropertyValue kann NULL sein, wenn der Knoten leer ist, aber Nothing (vb) ist nicht gleich NULL (c#) --- Interfaces/ZUGFeRDInterface/PropertyValues.vb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Interfaces/ZUGFeRDInterface/PropertyValues.vb b/Interfaces/ZUGFeRDInterface/PropertyValues.vb index ddeaa844..e5402117 100644 --- a/Interfaces/ZUGFeRDInterface/PropertyValues.vb +++ b/Interfaces/ZUGFeRDInterface/PropertyValues.vb @@ -343,8 +343,9 @@ Public Class PropertyValues Return DoGetFinalPropValue(Value) Else - If Value = Nothing Then - Return Nothing + ' Nothing kann auch der Default-Wert der Variablen bedeuten. Also auch 0.00 + If IsNothing(Value) Then + Return String.Empty Else Return Value.ToString End If