diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-01-08 17:53:51 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-01-08 17:53:51 +0000 |
commit | 63d9f8437ef55db7b201a3a9fbe47425a5cc20b2 (patch) | |
tree | 2e85c2236cc41f94742b6e8322db03bc2e49fd66 /perllib/FixMyStreet/App/Controller/Admin.pm | |
parent | 1971bf28a2d76ce7352d9c9dbc74601c4501ae90 (diff) |
Add Zurich option to say whether personal data should be passed to external contact.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Admin.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Admin.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm index a0faba47a..8ed135e6d 100644 --- a/perllib/FixMyStreet/App/Controller/Admin.pm +++ b/perllib/FixMyStreet/App/Controller/Admin.pm @@ -692,11 +692,12 @@ sub report_edit : Path('report_edit') : Args(1) { $problem->extra( { %$extra } ); } - # Zurich have photos being published or not; can't just check as with - # e.g. internal_notes as it's a checkbox and won't be set if it's not - # ticked + # Zurich have photos being published or not, and third parties getting + # personal data; can't just check as with e.g. internal_notes as it's a + # checkbox and won't be set if it's not ticked if ($c->cobrand->moniker eq 'zurich') { $extra->{publish_photo} = $c->req->params->{publish_photo} || 0; + $extra->{third_personal} = $c->req->params->{third_personal} || 0; $problem->extra( { %$extra } ); } |