diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-01-14 17:10:08 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-01-14 17:10:08 +0000 |
commit | e9e56af843d7527a9b53f1615e88edaff06578f9 (patch) | |
tree | d3b6ecc8c3c091d08fe1180fa280df5558074263 /perllib/FixMyStreet | |
parent | b5f24d9b11177ab3c559c13da6065518ac3507d1 (diff) |
Store and show what was originally entered in the details box.
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Zurich.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Zurich.pm b/perllib/FixMyStreet/Cobrand/Zurich.pm index c67d946ad..4857dde03 100644 --- a/perllib/FixMyStreet/Cobrand/Zurich.pm +++ b/perllib/FixMyStreet/Cobrand/Zurich.pm @@ -191,6 +191,8 @@ sub admin_report_edit { $extra->{internal_notes} = $c->req->param('internal_notes'); $extra->{publish_photo} = $c->req->params->{publish_photo} || 0; $extra->{third_personal} = $c->req->params->{third_personal} || 0; + # Make sure we have a copy of the original detail field + $extra->{original_detail} = $problem->detail unless $extra->{original_detail}; $problem->extra( { %$extra } ); # Workflow things |