aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-03-18 13:13:52 +0000
committerStruan Donald <struan@exo.org.uk>2020-03-31 09:58:59 +0100
commit285e183dbc70a4d65c4329bad4b807188e7421a8 (patch)
tree8f70cf0107dd522ed05262e7649c4ce85668a843 /perllib/FixMyStreet/App/Controller/Report
parentb6f513b9caeb623c2436813a925012b5755b4ebb (diff)
[Highways England] Do road-position server-side.
Restrict cobrand to HE categories. Want to do it by body, not category, because otherwise there's a "missing" council body.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/New.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm
index 1a300da21..516752b89 100644
--- a/perllib/FixMyStreet/App/Controller/Report/New.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/New.pm
@@ -1032,8 +1032,7 @@ sub process_report : Private {
}
# check that we've not indicated we only want to sent to a single body
- # and if we find a matching one then only send to that. e.g. if we clicked
- # on a TfL road on the map.
+ # and if we find a matching one then only send to that.
my $body_string = do {
if (my $single_body_only = $c->get_param('single_body_only')) {
my $body = $c->model('DB::Body')->search({ name => $single_body_only })->first;