diff options
author | Struan Donald <struan@exo.org.uk> | 2020-05-07 15:10:46 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2020-05-12 15:36:52 +0100 |
commit | c80f13eeac448e99873b690411d7f6e83b07dd06 (patch) | |
tree | abf43a53330728a1a7a02f462a8173f5e499048c /perllib/FixMyStreet/App/Controller | |
parent | 08f4e0171579f77165ce074e88086d1caeb7a243 (diff) |
admin interface for per category anonymous reporting
Add an interface to enable a category to accept anonymous reports, plus
the code to handle permitting this.
It's only available on single body cobrand sites in the default
configuration.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Admin/Bodies.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin/Bodies.pm b/perllib/FixMyStreet/App/Controller/Admin/Bodies.pm index 7b060f2ca..52306af24 100644 --- a/perllib/FixMyStreet/App/Controller/Admin/Bodies.pm +++ b/perllib/FixMyStreet/App/Controller/Admin/Bodies.pm @@ -271,7 +271,7 @@ sub update_contact : Private { $contact->send_method( $c->get_param('send_method') ); # Set flags in extra to the appropriate values - foreach (qw(photo_required open311_protect updates_disallowed reopening_disallowed assigned_users_only)) { + foreach (qw(photo_required open311_protect updates_disallowed reopening_disallowed assigned_users_only anonymous_allowed)) { if ( $c->get_param($_) ) { $contact->set_extra_metadata( $_ => 1 ); } else { |