Fix email with empty subject

This commit is contained in:
Alfredo Cardigliano 2023-11-03 11:51:38 +01:00
parent c1ec822937
commit 868c1ab701

View file

@ -109,6 +109,8 @@ function email.sendEmail(subject, message_body, settings)
if not isEmptyString(subject) then
subject = subject .. " - "
else
subject = ""
end
subject = subject .. product .. " @ " .. info.instance_name .. " (" .. info.ip .. ")"