diff options
author | Hakim Cassimally <hakim@mysociety.org> | 2015-03-31 08:58:41 +0000 |
---|---|---|
committer | Hakim Cassimally <hakim@mysociety.org> | 2015-03-31 08:58:41 +0000 |
commit | 2604aa3b3c6c9edc3df444eeede83491c6ce405c (patch) | |
tree | 4fe91e9fe7def2e12986b5a558a05e8cda07b0bf /perllib/FixMyStreet/DB/Result/Problem.pm | |
parent | 458d9c84b639d5625cdc491d56a4cf98bef1b51c (diff) | |
parent | c6f9498c79527fbee3cdb1a53f65524c716f20e9 (diff) |
Merge branch 'issues/commercial/678-open311-and-csv'
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/Problem.pm')
-rw-r--r-- | perllib/FixMyStreet/DB/Result/Problem.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Problem.pm b/perllib/FixMyStreet/DB/Result/Problem.pm index 93dc16811..bfe87009d 100644 --- a/perllib/FixMyStreet/DB/Result/Problem.pm +++ b/perllib/FixMyStreet/DB/Result/Problem.pm @@ -681,6 +681,10 @@ sub local_coords { my ($x, $y) = Geo::Coordinates::CH1903::from_latlon($self->latitude, $self->longitude); return ( int($x+0.5), int($y+0.5) ); } + else { + # return a dummy value until this function is implemented. useful for testing. + return (0, 0); + } } =head2 update_from_open311_service_request |