aboutsummaryrefslogtreecommitdiffstats
path: root/web/rss.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'web/rss.cgi')
-rwxr-xr-xweb/rss.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/rss.cgi b/web/rss.cgi
index effa15f08..623314e7f 100755
--- a/web/rss.cgi
+++ b/web/rss.cgi
@@ -13,6 +13,7 @@ use Error qw(:try);
use Standard;
use URI::Escape;
use FixMyStreet::Alert;
+use FixMyStreet::Geocode;
use mySociety::MaPit;
use mySociety::GeoUtil;
use mySociety::Gaze;
@@ -93,7 +94,7 @@ sub rss_local_problems {
} elsif ($pc) {
my $error;
try {
- ($x, $y, $e, $n, $error) = Page::geocode($pc, $q);
+ ($x, $y, $e, $n, $error) = FixMyStreet::Geocode::lookup($pc, $q);
} catch Error::Simple with {
$error = shift;
};