aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-reports
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-10-10 17:22:04 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-10-10 17:22:04 +0100
commitf058885277b593c2e866cf251177fe2d70207edb (patch)
treef46d3580ea59489f5a3c21a5f80db020ff16d5b5 /bin/send-reports
parent5eb4f4e746283b4e945b52745503baa4da4f345f (diff)
Stop warnings if org is not provided.
Diffstat (limited to 'bin/send-reports')
-rwxr-xr-xbin/send-reports2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/send-reports b/bin/send-reports
index 9ab6f8274..173d78a52 100755
--- a/bin/send-reports
+++ b/bin/send-reports
@@ -425,7 +425,7 @@ sub post_london_report {
# Nearest things
sub london_lookup {
- my $org = shift;
+ my $org = shift || '';
my $str = "Unknown ($org)";
open(FP, "$FindBin::Bin/../data/dft.csv");
while (<FP>) {