aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2008-04-08 11:33:43 +0000
committermatthew <matthew>2008-04-08 11:33:43 +0000
commitb09f4ad54ec3cc043a71737ad445ae13ae0847ec (patch)
tree959975f00ccb5ed3a54e18379736d520b33b8430
parentc1171874e297f00cd271ff434b7ae512c8995d5d (diff)
Missing enctype for file upload.
-rwxr-xr-xweb/index.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 5972c10e9..c6b5f840d 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.187 2008-04-03 17:28:43 matthew Exp $
+# $Id: index.cgi,v 1.188 2008-04-08 11:33:43 matthew Exp $
use strict;
use Standard;
@@ -781,7 +781,7 @@ EOF
<label for="form_fixed">This problem has been fixed</label></div>
};
$out .= <<EOF;
-<form method="post" action="./" id="fieldset">
+<form method="post" action="./" id="fieldset" enctype="multipart/form-data">
<input type="hidden" name="submit_update" value="1">
<input type="hidden" name="id" value="$input_h{id}">
<div><label for="form_name">Name:</label>