aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.cgi
diff options
context:
space:
mode:
authormatthew <matthew>2007-07-19 13:27:54 +0000
committermatthew <matthew>2007-07-19 13:27:54 +0000
commit844cf9d7d9e3a6e9dd725aab2a87bcf2728ff061 (patch)
treeb1b991cb9240f1a9779cfdedb72f6fbbd139edf7 /web/index.cgi
parentc4d7a70f1955add9a496aceca91d6f8b5fd381d0 (diff)
Pass button click through another way.
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 7637cc6e7..3916f38e0 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: index.cgi,v 1.152 2007-07-07 11:47:22 matthew Exp $
+# $Id: index.cgi,v 1.153 2007-07-19 13:27:54 matthew Exp $
use strict;
require 5.8.0;
@@ -58,7 +58,7 @@ sub main {
my $out = '';
my %params;
- if ($q->param('submit_problem')) {
+ if ($q->param('submit_problem') || $q->param('submit_map')==2) {
$params{title} = 'Submitting your problem';
$out = submit_problem($q);
} elsif ($q->param('submit_update')) {