diff options
author | M Somerville <matthew-github@dracos.co.uk> | 2020-08-18 12:37:42 +0100 |
---|---|---|
committer | M Somerville <matthew-github@dracos.co.uk> | 2020-08-18 12:38:03 +0100 |
commit | 7c71018d25ce89ffb09410c48b4a4f429600aee1 (patch) | |
tree | 8744d0cfcba590716918175db1b08afedba3b3c9 | |
parent | 7b60c530ef449747f8b8bfb2bfb0bc7f1a33f474 (diff) |
[Bromley] Requires original list returned.
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Bromley.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm index 4b4363ee3..dd8282fa2 100644 --- a/perllib/FixMyStreet/Cobrand/Bromley.pm +++ b/perllib/FixMyStreet/Cobrand/Bromley.pm @@ -326,7 +326,7 @@ sub add_admin_subcategories { my $c = $self->{c}; my $user = $c->stash->{user}; - return unless $user; # e.g. admin templates, not user + return $c->stash->{contacts} unless $user; # e.g. admin templates, not user my @subcategories = @{$user->get_extra_metadata('subcategories') || []}; my %active_contacts = map { $_ => 1 } @subcategories; |