summaryrefslogtreecommitdiffstats
path: root/importxml.pl
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@redhat.com>2014-06-05 21:57:59 +0200
committerDavid Lawrence <dkl@redhat.com>2014-06-05 21:58:22 +0200
commit685776f18291c4c0ee0ce729318b36d025be55f4 (patch)
tree109c8600d26ec11bf9b57cfe2745b1a4957940c3 /importxml.pl
parentac9980ad764eeaadca73a73cdcab554587135629 (diff)
downloadbugzilla-685776f18291c4c0ee0ce729318b36d025be55f4.tar.gz
bugzilla-685776f18291c4c0ee0ce729318b36d025be55f4.tar.xz
Bug 1016273: Bugzilla whine emails missing change to From header made by bug 1010751
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){