aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/JSON.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-06-10 14:39:40 +0100
committerMatthew Somerville <matthew@mysociety.org>2020-06-10 14:39:40 +0100
commit4351c0db779cab43566392e994f2323d57af3148 (patch)
treee0909130170f1a38efadef8bfa81e20347cde74b /perllib/FixMyStreet/App/Controller/JSON.pm
parentffb88ce81cadca0838fcbd1f849f46203a8a7bc8 (diff)
parent6088d10642da56cbea96446da9d9cd87c922ede5 (diff)
Merge branch 'issues/commercial/1906-he-anon-all'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/JSON.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/JSON.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/JSON.pm b/perllib/FixMyStreet/App/Controller/JSON.pm
index a7913bb4b..4657fcf2c 100644
--- a/perllib/FixMyStreet/App/Controller/JSON.pm
+++ b/perllib/FixMyStreet/App/Controller/JSON.pm
@@ -101,6 +101,7 @@ sub problems : Local {
} );
foreach my $problem (@problems) {
+ $c->cobrand->call_hook(munge_problem_list => $problem);
$problem->name( '' ) if $problem->anonymous == 1;
$problem->service( 'Web interface' ) if $problem->service eq '';
my $body_names = $problem->body_names;