aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Admin.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-01-08 17:53:51 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-01-08 17:53:51 +0000
commit63d9f8437ef55db7b201a3a9fbe47425a5cc20b2 (patch)
tree2e85c2236cc41f94742b6e8322db03bc2e49fd66 /perllib/FixMyStreet/App/Controller/Admin.pm
parent1971bf28a2d76ce7352d9c9dbc74601c4501ae90 (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.pm7
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 } );
}