aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2007-05-02 15:35:40 +0000
committermatthew <matthew>2007-05-02 15:35:40 +0000
commit6f6b5a3d5e308aea7f009c5917fb381f883bd237 (patch)
treeb30ac640b577b10d1c0e6b4970700de5db612b0d
parent085eecc3d4cc86a9f02440d1317ada13cc5e5847 (diff)
CGI does escaping for us.
-rwxr-xr-xweb/index.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 21d3edee9..b09b98af2 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.115 2007-05-02 14:28:50 matthew Exp $
+# $Id: index.cgi,v 1.116 2007-05-02 15:35:40 matthew Exp $
# TODO
# Nothing is done about the update checkboxes - not stored anywhere on anything!
@@ -332,7 +332,7 @@ sub display_form {
foreach (@$categories) {
$council_ok{$_->{area_id}} = 1;
next if $_->{category} eq 'Other';
- push @categories, ent($_->{category});
+ push @categories, $_->{category};
}
if (@categories) {
@categories = ('-- Pick a category --', @categories, 'Other');