summaryrefslogtreecommitdiffstats
path: root/whine.pl
diff options
context:
space:
mode:
Diffstat (limited to 'whine.pl')
-rwxr-xr-xwhine.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/whine.pl b/whine.pl
index e6161cfeb..a1ff34a1d 100755
--- a/whine.pl
+++ b/whine.pl
@@ -97,7 +97,8 @@ my $sth_schedules_by_event = $dbh->prepare(
# Send whines from the address in the 'mailfrom' Parameter so that all
# Bugzilla-originated mail appears to come from a single address.
-my $fromaddress = Bugzilla->params->{'mailfrom'};
+my $fromaddress = '"' . template_var('terms')->{'BugzillaTitle'} . '"' .
+ ' <' . Bugzilla->params->{'mailfrom'} . '>';
# get the current date and time
my ($now_sec, $now_minute, $now_hour, $now_day, $now_month, $now_year,