Fixed a bug that would not have a subject in the email response error if for some reason the from address is empty and visitors cannot post to the CS

This commit is contained in:
Frank Dillon 2008-09-26 13:06:11 +00:00
parent 64fdc50a5d
commit b607f625a5

View file

@ -188,7 +188,7 @@ sub execute {
my $send = WebGUI::Mail::Send->create($self->session, {
to=>$message->{from},
inReplyTo=>$message->{messageId},
subject=>$cs->get("mailPrefix").$i18n->get("rejected")." ".$self->{subject},
subject=>$cs->get("mailPrefix").$i18n->get("rejected")." ".$message->{subject},
from=>$cs->get("mailAddress")
});
$send->addText($i18n->get("rejected because no user account"));