aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report/New.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/New.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/New.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm
index 375b36a51..cb6ac670e 100644
--- a/perllib/FixMyStreet/App/Controller/Report/New.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/New.pm
@@ -628,8 +628,8 @@ sub process_report : Private {
if ( $c->cobrand->moniker eq 'emptyhomes' ) {
- # all councils have all categories for emptyhomes
- $report->council( join( ',', keys %$councils) );
+ $councils = join( ',', @{ $c->stash->{area_ids_to_list} } ) || -1;
+ $report->council( $councils );
} elsif ( $first_council->{type} eq 'LBO') {