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:
parent
64fdc50a5d
commit
b607f625a5
1 changed files with 1 additions and 1 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue