aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-22 13:52:32 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-22 13:52:32 +0000
commit59443736f1b7fb42a60c89211ed035de1d1c624a (patch)
tree110065c9178718048a88f7940fb7bf0b0d9c9400
parentf5120d4ce3035db04a55df645a8466fd3417a7d7 (diff)
If errors, they might return header data.
-rwxr-xr-xweb/index.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi
index e9493a409..7e177e0a2 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -81,10 +81,10 @@ sub main {
my %params;
if ($q->param('submit_problem')) {
$params{title} = _('Submitting your report');
- ($out) = submit_problem($q);
+ ($out, %params) = submit_problem($q);
} elsif ($q->param('submit_update')) {
$params{title} = _('Submitting your update');
- ($out) = submit_update($q);
+ ($out, %params) = submit_update($q);
} elsif ($q->param('submit_map')) {
($out, %params) = display_form($q, [], {});
$params{title} = _('Reporting a problem');