aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/ResultSet/Problem.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-02-16 14:32:52 +0000
committerMatthew Somerville <matthew@mysociety.org>2015-02-16 14:35:34 +0000
commitb1a719a95a736937f6d5c92bf81d95f0bc999152 (patch)
tree6f7be1c0e8d652f6e7cd094d8941bf6dde49a9ea /perllib/FixMyStreet/DB/ResultSet/Problem.pm
parentd2569bfe991ce1635131a1b1cf67cd55c3f258a4 (diff)
Switch easting/northing output to one line.
This is more friendly for e.g. copy and pasting by someone using the Dynamics CRM software. Fixes #997.
Diffstat (limited to 'perllib/FixMyStreet/DB/ResultSet/Problem.pm')
-rw-r--r--perllib/FixMyStreet/DB/ResultSet/Problem.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/DB/ResultSet/Problem.pm b/perllib/FixMyStreet/DB/ResultSet/Problem.pm
index a84a309ee..10d395684 100644
--- a/perllib/FixMyStreet/DB/ResultSet/Problem.pm
+++ b/perllib/FixMyStreet/DB/ResultSet/Problem.pm
@@ -302,10 +302,7 @@ sub send_reports {
( $h{easting}, $h{northing} ) = Utils::convert_latlon_to_en( $h{latitude}, $h{longitude} );
# email templates don't have conditionals so we need to farmat this here
- $h{easting_northing} #
- = "Easting: $h{easting}\n\n" #
- . "Northing: $h{northing}\n\n";
-
+ $h{easting_northing} = "Easting/Northing: $h{easting}/$h{northing}\n\n";
}
if ( $row->used_map ) {