diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-09-28 18:04:01 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-09-28 18:04:01 +0100 |
commit | 9af214f26c2b10832977d715629e9e0fbf4ad349 (patch) | |
tree | 7222c4e4ab91224b80fc88a5c3a97f1bb43289d0 /perllib | |
parent | a428c23753694794f3b1bddace94e869c2d7550f (diff) | |
parent | a8eb8d3a3a1df337a1ebc73adf56f243de31d9e5 (diff) |
Merge remote-tracking branch 'origin/blank-questionnaire-text'
Diffstat (limited to 'perllib')
-rwxr-xr-x | perllib/FixMyStreet/App/Controller/Questionnaire.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Questionnaire.pm b/perllib/FixMyStreet/App/Controller/Questionnaire.pm index 035cab3a6..8fe2514c0 100755 --- a/perllib/FixMyStreet/App/Controller/Questionnaire.pm +++ b/perllib/FixMyStreet/App/Controller/Questionnaire.pm @@ -234,6 +234,8 @@ sub process_questionnaire : Private { map { $c->stash->{$_} = $c->get_param($_) || '' } qw(been_fixed reported another update); + $c->stash->{update} = Utils::cleanup_text($c->stash->{update}, { allow_multiline => 1 }); + # EHA questionnaires done for you if ($c->cobrand->moniker eq 'emptyhomes') { $c->stash->{another} = $c->stash->{num_questionnaire}==1 ? 'Yes' : 'No'; |