aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/send-reports2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/send-reports b/bin/send-reports
index 6fc1f74ec..96f259d5c 100755
--- a/bin/send-reports
+++ b/bin/send-reports
@@ -350,7 +350,7 @@ sub find_closest {
my ($row, $latitude, $longitude) = @_;
my $str = '';
- return unless $row->{used_map};
+ return '' unless $row->{used_map};
# Get nearest road-type thing from Bing
my $url = "http://dev.virtualearth.net/REST/v1/Locations/$latitude,$longitude?c=en-GB&key=" . mySociety::Config::get('BING_MAPS_API_KEY');