summaryrefslogtreecommitdiffstats
path: root/importxml.pl
diff options
context:
space:
mode:
Diffstat (limited to 'importxml.pl')
-rwxr-xr-ximportxml.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/importxml.pl b/importxml.pl
index e4eeb014f..19be9a61a 100755
--- a/importxml.pl
+++ b/importxml.pl
@@ -133,8 +133,7 @@ sub MailMessage {
my $subject = shift;
my $message = shift;
my @recipients = @_;
- my $from = '"' . template_var('terms')->{'BugzillaTitle'} . '"' .
- ' <' . Bugzilla->params->{'mailfrom'} . '>';
+ my $from = $params->{"mailfrom"};
$from =~ s/@/\@/g;
foreach my $to (@recipients){