diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-02-19 15:47:37 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-02-19 18:25:50 +0000 |
commit | ee386f44aeebe7814f258b3ba4a756e903c89719 (patch) | |
tree | 397fee3f5eb57b1768de3ae592c98275bf65bbf1 /perllib/FixMyStreet/App/Controller/Questionnaire.pm | |
parent | 6f997f16abba3b649d939f35abd7607076424fa9 (diff) |
Always show confirmation page for reports/updates.
Rather than redirecting to the report if they're already logged in.
Fixes #1003.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Questionnaire.pm')
-rwxr-xr-x | perllib/FixMyStreet/App/Controller/Questionnaire.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Questionnaire.pm b/perllib/FixMyStreet/App/Controller/Questionnaire.pm index 70edcabe3..e75bb05ab 100755 --- a/perllib/FixMyStreet/App/Controller/Questionnaire.pm +++ b/perllib/FixMyStreet/App/Controller/Questionnaire.pm @@ -106,6 +106,7 @@ sub submit_creator_fixed : Private { } my $problem = $c->cobrand->problems->find( { id => $c->stash->{problem_id} } ); + $c->stash->{problem} = $problem; # you should not be able to answer questionnaires about problems # that you've not submitted |