aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map/OSM.pm
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 /perllib/FixMyStreet/Map/OSM.pm
parent2532b04b72f6de69f0cf801630f4008a0fc35405 (diff)
Some minor URL improvements.
Diffstat (limited to 'perllib/FixMyStreet/Map/OSM.pm')
-rw-r--r--perllib/FixMyStreet/Map/OSM.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/perllib/FixMyStreet/Map/OSM.pm b/perllib/FixMyStreet/Map/OSM.pm
index 962d0891f..9c506b00a 100644
--- a/perllib/FixMyStreet/Map/OSM.pm
+++ b/perllib/FixMyStreet/Map/OSM.pm
@@ -117,11 +117,7 @@ sub display_pin {
. 'px; left:' . ($px) . 'px; position: absolute;">';
return $out unless $pin->[3];
my $cobrand = Page::get_cobrand($q);
- my $url = Cobrand::url($cobrand, NewURL($q,
- -retain => 1, -url => '/report/' . $pin->[3],
- pc => undef, x => undef, y => undef, sx => undef, sy => undef,
- all_pins => undef, no_pins => undef), $q
- );
+ my $url = Cobrand::url($cobrand, NewURL($q, -url => '/report/' . $pin->[3]), $q);
# XXX Would like to include title here in title=""
$out = '<a href="' . $url . '">' . $out . '</a>';
return $out;