diff options
Diffstat (limited to 'web/index.cgi')
-rwxr-xr-x | web/index.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/index.cgi b/web/index.cgi index 1a60b05a7..cd9a7574c 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -903,7 +903,7 @@ sub display_location { foreach (@$around_map) { my $report_url = Cobrand::url($cobrand, NewURL($q, -retain => 1, -url => '/report/' . $_->{id}, pc => undef, x => undef, 'y' => undef), $q); $around_list .= '<li><a href="' . $report_url . '">'; - my $dist = int($_->{distance}/100+0.5); + my $dist = int($_->{distance}*10+0.5); $dist = $dist / 10; $around_list .= ent($_->{title}) . '</a> <small>('; $around_list .= Page::prettify_epoch($q, $_->{time}, 1) . ', '; |