aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/Result/Problem.pm
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-07-08 13:30:44 +0100
committerDave Arter <davea@mysociety.org>2016-07-08 13:30:44 +0100
commit2df9363f794679bee9c6d705cd7fc6fdae599718 (patch)
treeb08e3be68bb016119901d91b841ec336eb964b2c /perllib/FixMyStreet/DB/Result/Problem.pm
parent6d3cbb5d58c0297959c541da50faaf39884ffe1c (diff)
parentffa79bdd4b4f18fc535de212d9e4b35af858e91b (diff)
Merge branch 'issues/commercial/769-zurich-lv95'
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/Problem.pm')
-rw-r--r--perllib/FixMyStreet/DB/Result/Problem.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Problem.pm b/perllib/FixMyStreet/DB/Result/Problem.pm
index b58294604..a2167032a 100644
--- a/perllib/FixMyStreet/DB/Result/Problem.pm
+++ b/perllib/FixMyStreet/DB/Result/Problem.pm
@@ -668,7 +668,7 @@ sub local_coords {
my $self = shift;
my $cobrand = FixMyStreet::Cobrand->get_class_for_moniker($self->cobrand)->new;
if ($cobrand->moniker eq 'zurich') {
- my ($x, $y) = Geo::Coordinates::CH1903::from_latlon($self->latitude, $self->longitude);
+ my ($x, $y) = Geo::Coordinates::CH1903Plus::from_latlon($self->latitude, $self->longitude);
return ( int($x+0.5), int($y+0.5) );
} elsif ($cobrand->country eq 'GB') {
my $coordsyst = 'G';