aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-reports
diff options
context:
space:
mode:
Diffstat (limited to 'bin/send-reports')
-rwxr-xr-xbin/send-reports1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/send-reports b/bin/send-reports
index d61269d96..9da9b6238 100755
--- a/bin/send-reports
+++ b/bin/send-reports
@@ -190,6 +190,7 @@ If you know of an appropriate contact address, please do get in touch. ]\n\n";
$send_web = 0;
$send_email = 1;
} elsif (mySociety::Config::get('STAGING_SITE')) {
+ # on a staging server send emails to ourselves rather than the councils
@recips = ( mySociety::Config::get('CONTACT_EMAIL') );
} elsif ($site eq 'emptyhomes') {
my $council = $row->{council};