aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xweb/rss.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/rss.cgi b/web/rss.cgi
index d455e9d1a..d49134718 100755
--- a/web/rss.cgi
+++ b/web/rss.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: rss.cgi,v 1.29 2009-09-24 20:41:36 matthew Exp $
+# $Id: rss.cgi,v 1.30 2009-09-24 21:11:12 matthew Exp $
use strict;
use Error qw(:try);
@@ -66,6 +66,7 @@ sub rss_local_problems {
($e, $n) = mySociety::GeoUtil::wgs84_to_national_grid($lat, $lon, 'G');
$x = Page::os_to_tile($e);
$y = Page::os_to_tile($n);
+ my $base = mySociety::Config::get('BASE_URL');
print $q->redirect(-location => "$base/rss/$x/$y");
return '';
} elsif ($x && $y) {