fixed bug 635024

This commit is contained in:
JT Smith 2002-12-05 03:36:21 +00:00
parent 6f51f7de3c
commit 0746702435

View file

@ -76,7 +76,7 @@ use WebGUI::Session;
sub send {
my ($smtp, $message, $from, $footer);
$from = $_[4] || ($session{setting}{companyName}.' <'.$session{setting}{companyEmail}.'>');
$from = $_[4] || $session{setting}{companyEmail};
#header
$message = "To: $_[0]\n";
$message .= "From: $from\n";