EmailService: IsNullOrWhiteSpace ist hier besser

This commit is contained in:
PitzM 2024-06-28 12:59:33 +02:00
parent b3cc85278d
commit 09d47a303e

View File

@ -514,7 +514,7 @@ Public Class EmailService
Dim oSQL As String = "UPDATE TBEMLP_EMAIL_OUT SET "
oSQL += " EMAIL_SENT = GETDATE() "
If String.IsNullOrEmpty(pComment) = False Then
If String.IsNullOrWhiteSpace(pComment) = False Then
oSQL += $", COMMENT = '{pComment}' "
End If