aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-03-18 14:45:32 +0000
committerEdmund von der Burg <evdb@mysociety.org>2011-03-18 14:45:32 +0000
commit2a6169e6f6805f9276d616ccbcb22f9abfcf4d3c (patch)
tree6c67c227337136df959b525df32d1e80893a3a52 /web
parentdf2e586f26ca9b01bf2101b91c0d716a380ad1ab (diff)
Create a new report by going to '/reports/new'
Diffstat (limited to 'web')
-rwxr-xr-xweb/index.cgi15
1 files changed, 11 insertions, 4 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 8fab1d079..178706b20 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -936,10 +936,17 @@ sub display_location {
map { Utils::truncate_coordinate($_) } #
( $latitude, $longitude );
- my $url_skip = NewURL($q, -retain=>1, pc => undef,
- x => undef, 'y' => undef,
- latitude => $short_lat, longitude => $short_lon,
- 'submit_map'=>1, skipped=>1
+ my $url_skip = NewURL(
+ $q,
+ -url => '/reports/new',
+ -retain => 1,
+ pc => undef,
+ x => undef,
+ 'y' => undef,
+ latitude => $short_lat,
+ longitude => $short_lon,
+ 'submit_map' => 1,
+ skipped => 1
);
my $pc_h = ent($q->param('pc') || '');