diff options
author | Matthew Somerville <matthew@balti.ukcod.org.uk> | 2010-11-22 15:49:43 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@balti.ukcod.org.uk> | 2010-11-22 15:54:23 +0000 |
commit | fadd20a3350e9032ef3dfc8b4e2faf340d5f0af2 (patch) | |
tree | 70968af5583f85dbfcac8f314ce05e93403d3b37 /web/alert.cgi | |
parent | 3f62b70cd98827899f5820290ea1b52643122b5e (diff) |
Move map functions to their own package.
Diffstat (limited to 'web/alert.cgi')
-rwxr-xr-x | web/alert.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/alert.cgi b/web/alert.cgi index 108a02683..c6a6eb647 100755 --- a/web/alert.cgi +++ b/web/alert.cgi @@ -80,8 +80,8 @@ sub alert_list { $x ||= 0; $x += 0; $y ||= 0; $y += 0; if ($x || $y) { - $e = Page::tile_to_os($input{x}); - $n = Page::tile_to_os($input{y}); + $e = FixMyStreet::Map::tile_to_os($input{x}); + $n = FixMyStreet::Map::tile_to_os($input{y}); } else { try { ($x, $y, $e, $n, $error) = Page::geocode($input{pc}, $q); |