diff options
-rwxr-xr-x | web/contact.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/contact.cgi b/web/contact.cgi index c3a1c23b0..891bd6abf 100755 --- a/web/contact.cgi +++ b/web/contact.cgi @@ -126,12 +126,14 @@ EOF sub generic_contact_text { my ($q) = @_; my $intro; + if ($q->{site} eq 'emptyhomes') { $intro .= $q->p(_('We’d love to hear what you think about this website. Just fill in the form. Please don’t contact us about individual empty homes; use the box accessed from <a href="/">the front page</a>.')); } else { - my $mailto = mySociety::Config::get('CONTACT_EMAIL'); + my $cobrand = Page::get_cobrand($q); + my $mailto = Cobrand::contact_email($cobrand); $mailto =~ s/\@/@/; $intro .= $q->p(_('Please do <strong>not</strong> report problems through this form; messages go to the team behind FixMyStreet, not a council. To report a problem, |