aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/App/Controller/Dashboard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Dashboard.pm b/perllib/FixMyStreet/App/Controller/Dashboard.pm
index 4b43be081..7979f31f6 100644
--- a/perllib/FixMyStreet/App/Controller/Dashboard.pm
+++ b/perllib/FixMyStreet/App/Controller/Dashboard.pm
@@ -446,7 +446,7 @@ sub generate_csv : Private {
split ',', $hashref->{areas};
}
- if ($obj->can('local_coords')) {
+ if ($obj->can('local_coords') && $asked_for{local_coords_x}) {
($hashref->{local_coords_x}, $hashref->{local_coords_y}) =
$obj->local_coords;
}