diff options
author | matthew <matthew> | 2007-06-15 23:25:30 +0000 |
---|---|---|
committer | matthew <matthew> | 2007-06-15 23:25:30 +0000 |
commit | 641e150f398388b897b7c073b2257f3cb302e96d (patch) | |
tree | 388e6fe7b570414554a283239706e42dd60f357a | |
parent | bd56ef052ce0a5c7a73b05c384307a5a0ccdc123 (diff) |
And another.
-rwxr-xr-x | web/questionnaire.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/questionnaire.cgi b/web/questionnaire.cgi index bf6e78195..3b17b4aa6 100755 --- a/web/questionnaire.cgi +++ b/web/questionnaire.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: questionnaire.cgi,v 1.10 2007-06-01 14:24:41 matthew Exp $ +# $Id: questionnaire.cgi,v 1.11 2007-06-15 23:25:30 matthew Exp $ use strict; require 5.8.0; @@ -96,7 +96,7 @@ sub submit_questionnaire { if $input{been_fixed} eq 'No' && $problem->{state} eq 'fixed' && !$input{update}; return display_questionnaire($q, @errors) if @errors; - my $new_state; + my $new_state = ''; $new_state = 'fixed' if $input{been_fixed} eq 'Yes' && $problem->{state} eq 'confirmed'; $new_state = 'confirmed' if $input{been_fixed} eq 'No' && $problem->{state} eq 'fixed'; |