aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-reports
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-11-30 22:04:33 +0000
committerStruan Donald <struan@exo.org.uk>2011-11-30 22:04:33 +0000
commit0f43cd3b8fbe82256c052aaad65c6a16e3668cbe (patch)
treee80405918a85cb8847d4a4ef3e602ff400cba4f0 /bin/send-reports
parentd69c8404b6ca7cc3b92f3fd1d175b000f2f82e08 (diff)
parent783601d101ad0ff356921c2f3af0e8b3b9d6e24e (diff)
Merge branch 'rss-addresses'
Conflicts: db/schema.sql perllib/FixMyStreet/DB/Result/Problem.pm
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 3d5243990..427d02ec8 100755
--- a/bin/send-reports
+++ b/bin/send-reports
@@ -92,7 +92,7 @@ while (my $row = $unsent->next) {
}
if ( $row->used_map ) {
- $h{closest_address} = $cobrand->find_closest( $h{latitude}, $h{longitude} );
+ $h{closest_address} = $cobrand->find_closest( $h{latitude}, $h{longitude}, $row );
}
my (@to, @recips, $template, $areas_info, @open311_councils);