diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-06-10 14:39:40 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-06-10 14:39:40 +0100 |
commit | 4351c0db779cab43566392e994f2323d57af3148 (patch) | |
tree | e0909130170f1a38efadef8bfa81e20347cde74b /perllib/FixMyStreet/App/Controller/Report.pm | |
parent | ffb88ce81cadca0838fcbd1f849f46203a8a7bc8 (diff) | |
parent | 6088d10642da56cbea96446da9d9cd87c922ede5 (diff) |
Merge branch 'issues/commercial/1906-he-anon-all'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm index 4d8794c59..4f9825cae 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -197,6 +197,7 @@ sub load_problem_or_display_error : Private { } } + $c->cobrand->call_hook(munge_problem_list => $problem); $c->stash->{problem} = $problem; if ( $c->user_exists && $c->user->can_moderate($problem) ) { $c->stash->{problem_original} = $problem->find_or_new_related( @@ -251,6 +252,7 @@ sub load_updates : Private { my @combined; my %questionnaires_with_updates; while (my $update = $updates->next) { + $c->cobrand->call_hook(munge_update_list => $update); push @combined, [ $update->confirmed, $update ]; if (my $qid = $update->get_extra_metadata('questionnaire_id')) { $questionnaires_with_updates{$qid} = $update; |