aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index 88ead39bc..1b75b9ba2 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -342,7 +342,7 @@ sub send_email {
my $template = shift;
my $extra_stash_values = shift || {};
- my $sender = $c->config->{DO_NOT_REPLY_EMAIL};
+ my $sender = $c->cobrand->do_not_reply_email;
my $email = $c->construct_email($template, $extra_stash_values) or return;
my $result = 0;
@@ -360,7 +360,7 @@ sub construct_email {
my ($c, $template, $extra_stash_values) = @_;
$extra_stash_values //= {};
- my $sender = $c->config->{DO_NOT_REPLY_EMAIL};
+ my $sender = $c->cobrand->do_not_reply_email;
my $sender_name = $c->cobrand->contact_name;
# create the vars to pass to the email template