aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/ResultSet/Problem.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2015-08-19 12:40:24 +0100
committerMatthew Somerville <matthew@mysociety.org>2015-08-19 15:25:00 +0100
commit36d8eba063fe14a153b7f378fef5853725943c37 (patch)
tree350766829c302fa7f52e11631d3aa6cbadb3e7aa /perllib/FixMyStreet/DB/ResultSet/Problem.pm
parent0784bdae637e3d0ca20dc3d66ec50c5d68e489ec (diff)
Add default sender to send_email_cron.
Matches send_email, remove unneeded setting of sender in one call, and add contact name to report sent email.
Diffstat (limited to 'perllib/FixMyStreet/DB/ResultSet/Problem.pm')
-rw-r--r--perllib/FixMyStreet/DB/ResultSet/Problem.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/DB/ResultSet/Problem.pm b/perllib/FixMyStreet/DB/ResultSet/Problem.pm
index 0aa7c8b3a..d56fec193 100644
--- a/perllib/FixMyStreet/DB/ResultSet/Problem.pm
+++ b/perllib/FixMyStreet/DB/ResultSet/Problem.pm
@@ -499,7 +499,7 @@ sub _send_report_sent_email {
_template_ => $template,
_parameters_ => $h,
To => $row->user->email,
- From => mySociety::Config::get('CONTACT_EMAIL'),
+ From => [ mySociety::Config::get('CONTACT_EMAIL'), $cobrand->contact_name ],
},
mySociety::Config::get('CONTACT_EMAIL'),
$nomail,