Escape Subject when adding to history table

This commit is contained in:
Jonathan Jenne 2023-10-27 09:53:33 +02:00
parent 33586522dd
commit 1b546b88ed

View File

@ -786,7 +786,7 @@ Public Class clsWorkEmail
) VALUES ( ) VALUES (
'{CurrentMailProcessName}', '{CurrentMailProcessName}',
'{pCurrentMail.MessageId}', '{pCurrentMail.MessageId}',
'{pCurrentMail.SubjectOriginal}', '{pCurrentMail.SubjectOriginal.EscapeForSQL()}',
'{pCurrentMail.Mail.Date}', '{pCurrentMail.Mail.Date}',
'{CURRENT_MAIL_BODY_ALL}', '{CURRENT_MAIL_BODY_ALL}',
'{CURRENT_MAIL_BODY_ANSWER1}', '{CURRENT_MAIL_BODY_ANSWER1}',