aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.cgi
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-08 12:38:26 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-08 12:38:26 +0000
commit6f5bebbb14ec2291ef6b3621f24acffeb9d70a98 (patch)
treeeb7742e501178ccfb821697f4a013ef2a12d10b5 /web/index.cgi
parent2532b04b72f6de69f0cf801630f4008a0fc35405 (diff)
Some minor URL improvements.
Diffstat (limited to 'web/index.cgi')
-rwxr-xr-xweb/index.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 20105bb29..fd6d8a1a3 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -944,7 +944,7 @@ sub display_location {
map { Utils::truncate_coordinate($_) } #
( $latitude, $longitude );
- my $url_skip = NewURL($q, -retain=>1, pc => undef,
+ my $url_skip = NewURL($q, -retain=>1,
x => undef, 'y' => undef,
latitude => $short_lat, longitude => $short_lon,
'submit_map'=>1, skipped=>1
@@ -969,7 +969,7 @@ sub display_location {
map_end => FixMyStreet::Map::display_map_end(1),
url_home => Cobrand::url($cobrand, '/', $q),
url_rss => $rss_url,
- url_email => Cobrand::url($cobrand, NewURL($q, -retain => 1, pc => undef, lat => $short_lat, lon => $short_lon, -url=>'/alert', feed=>"local:$short_lat:$short_lon"), $q),
+ url_email => Cobrand::url($cobrand, NewURL($q, lat => $short_lat, lon => $short_lon, -url=>'/alert', feed=>"local:$short_lat:$short_lon"), $q),
url_skip => $url_skip,
email_me => _('Email me new local problems'),
rss_alt => _('RSS feed'),