check fields of forwarded mail
fixes https://github.com/pandorabox-io/pandorabox.io/issues/556
This commit is contained in:
parent
18592b0a35
commit
63521f5e85
4
gui.lua
4
gui.lua
@ -349,8 +349,8 @@ function mail.replyall(name, message)
|
||||
end
|
||||
|
||||
function mail.forward(name, message)
|
||||
local fwfooter = "Type your message here.\n\n--Original message follows--\n" ..message.body
|
||||
mail.show_compose(name, "", "Fw: "..message.subject, fwfooter)
|
||||
local fwfooter = "Type your message here.\n\n--Original message follows--\n" .. (message.body or "")
|
||||
mail.show_compose(name, "", "Fw: " .. (message.subject or ""), fwfooter)
|
||||
end
|
||||
|
||||
function mail.handle_receivefields(player, formname, fields)
|
||||
|
Loading…
x
Reference in New Issue
Block a user