diff options
author | Struan Donald <struan@exo.org.uk> | 2012-05-25 18:07:20 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-05-25 18:07:20 +0100 |
commit | 6b26b7ec133eb9bdd4a9bed45477ec6d9d78304c (patch) | |
tree | 24cc24b1536ea4bdd6fa717a5a268d85ddad3325 /perllib/FixMyStreet/App/Controller/Contact.pm | |
parent | 0ff2c1689fafab7ed533b3989075c34f3c1a8779 (diff) | |
parent | 5ab9f3916e43372a89dd78740b752de2c7cf2552 (diff) |
Merge remote-tracking branch 'origin/bromley' into bromley
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Contact.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Contact.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Contact.pm b/perllib/FixMyStreet/App/Controller/Contact.pm index f28d37989..91580f05a 100644 --- a/perllib/FixMyStreet/App/Controller/Contact.pm +++ b/perllib/FixMyStreet/App/Controller/Contact.pm @@ -183,7 +183,7 @@ generally required to stash sub setup_request : Private { my ( $self, $c ) = @_; - $c->stash->{contact_email} = $c->cobrand->contact_email; + $c->stash->{contact_email} = $c->cobrand->contact_email( 'contact' ); $c->stash->{contact_email} =~ s/\@/@/; for my $param (qw/em subject message/) { @@ -205,7 +205,7 @@ Sends the email sub send_email : Private { my ( $self, $c ) = @_; - my $recipient = $c->cobrand->contact_email(); + my $recipient = $c->cobrand->contact_email( 'contact' ); my $recipient_name = $c->cobrand->contact_name(); $c->stash->{host} = $c->req->header('HOST'); |