aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-06-21 17:28:24 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-06-21 17:28:24 +0100
commitbbeb8db833e20bf956bd04700f7c6123e942c92d (patch)
tree23aaa704fc74228de5ebf46f63cf101c82fe6e8c /perllib/FixMyStreet/App/Controller/Report.pm
parentacaa7ebf2ebb6f25956fe6045fadbd8772e2d8ae (diff)
parent63f8ca8d3fe1e3b52e079e41b29c85d14376f261 (diff)
Merge branch '2166-comma-category'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm
index 799985f8e..f5d7db069 100644
--- a/perllib/FixMyStreet/App/Controller/Report.pm
+++ b/perllib/FixMyStreet/App/Controller/Report.pm
@@ -508,7 +508,7 @@ sub inspect : Private {
# shortlist is always a single click away, being on the main nav.
if ($c->user->has_body_permission_to('planned_reports')) {
unless ($redirect_uri = $c->get_param("post_inspect_url")) {
- my $categories = join(',', @{ $c->user->categories });
+ my $categories = $c->user->categories_string;
my $params = {
lat => $problem->latitude,
lon => $problem->longitude,