aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.cgi
diff options
context:
space:
mode:
authormatthew <matthew>2007-03-21 21:59:35 +0000
committermatthew <matthew>2007-03-21 21:59:35 +0000
commit993ce7959e6af76a41133112d53b6e4ce874b535 (patch)
tree3fb27bee9d58ceadd7e9059913440b4edafd3999 /web/index.cgi
parentaa894e46795c649b346b382ee743061651bf330f (diff)
Bugs.
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 e18602903..88df9f551 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.98 2007-03-21 21:53:51 matthew Exp $
+# $Id: index.cgi,v 1.99 2007-03-21 21:59:35 matthew Exp $
# TODO
# Nothing is done about the update checkboxes - not stored anywhere on anything!
@@ -164,7 +164,7 @@ sub submit_problem {
}
push(@errors, 'No council selected') unless ($input{council} && $input{council} =~ /^(?:-1|[\d,]+(?:\|[\d,]+)?)$/);
- push(@errors, 'Please enter a title') unless $input{title} =~ /\S/;
+ push(@errors, 'Please enter a subject') unless $input{title} =~ /\S/;
push(@errors, 'Please enter some details') unless $input{detail} =~ /\S/;
push(@errors, 'Please enter your name') unless $input{name} =~ /\S/;
if ($input{email} !~ /\S/) {