aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/SendReport/Email.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/SendReport/Email.pm')
-rw-r--r--perllib/FixMyStreet/SendReport/Email.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/SendReport/Email.pm b/perllib/FixMyStreet/SendReport/Email.pm
index 5b0151595..80b60b381 100644
--- a/perllib/FixMyStreet/SendReport/Email.pm
+++ b/perllib/FixMyStreet/SendReport/Email.pm
@@ -59,7 +59,7 @@ sub envelope_sender {
if ($row->user->email && $row->user->email_verified) {
return FixMyStreet::Email::unique_verp_id('report', $row->id);
}
- return FixMyStreet->config('DO_NOT_REPLY_EMAIL');
+ return $row->get_cobrand_logged->do_not_reply_email;
}
sub send {