diff options
Diffstat (limited to 'web/index.cgi')
-rwxr-xr-x | web/index.cgi | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi index d8b22f881..d4141c1f5 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -832,7 +832,7 @@ sub display_location { $all_link = NewURL($q, -retain=>1, no_pins=>undef, all_pins=>1); $all_text = _('Include stale reports'); $interval = '6 months'; - } + } my ($pins, $on_map, $around_map, $dist) = Page::map_pins($q, $x, $y, $x, $y, $interval); if ($input{no_pins}) { $hide_link = NewURL($q, -retain=>1, no_pins=>undef); @@ -843,7 +843,6 @@ sub display_location { $hide_text = _('Hide pins'); } my $map_links = "<p id='sub_map_links'><a id='hide_pins_link' href='$hide_link'>$hide_text</a> | <a id='all_pins_link' href='$all_link'>$all_text</a></p> <input type='hidden' id='all_pins' name='all_pins' value='$input_h{all_pins}'>"; - my $on_list = ''; foreach (@$on_map) { my $report_url = NewURL($q, -retain => 1, -url => '/report/' . $_->{id}, pc => undef, x => undef, 'y' => undef); |