diff options
author | Struan Donald <struan@exo.org.uk> | 2018-03-15 16:12:58 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2018-03-15 16:12:58 +0000 |
commit | 9d9352ca6bbd757b30796d3cebd42f3ba06f6ddc (patch) | |
tree | e587f810b1adf59d6c947e1e887b341cb3e635e5 /perllib/Open311/PopulateServiceList.pm | |
parent | d5fed14044a348d85061202265dd09e4ce1b776b (diff) | |
parent | 8c23490f465fad0089d77ee362c566d066798d09 (diff) |
Merge branch 'rutland-integration'
Diffstat (limited to 'perllib/Open311/PopulateServiceList.pm')
-rw-r--r-- | perllib/Open311/PopulateServiceList.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/Open311/PopulateServiceList.pm b/perllib/Open311/PopulateServiceList.pm index 30d888eb4..af89e3169 100644 --- a/perllib/Open311/PopulateServiceList.pm +++ b/perllib/Open311/PopulateServiceList.pm @@ -267,6 +267,8 @@ sub _add_meta_to_contact { @meta = grep { ! $ignore{ $_->{ code } } } @meta; } + @meta = grep { !defined $_->{automated} || $_->{ automated } eq 'hidden_field' } @meta; + $contact->set_extra_fields(@meta); $contact->update; } |