aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Waste.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-06-15 21:02:37 +0100
committerM Somerville <matthew-github@dracos.co.uk>2020-11-11 10:29:20 +0000
commit6337ebfd91a87eaf5efa077c5f9a9eff286c1f76 (patch)
tree956b5b6c8ed7bd0ca8a2711bc0540f1cb383fb79 /perllib/FixMyStreet/App/Controller/Waste.pm
parentbc19b9e00f3d59a2f0694f2fcc3aab54fef35e9e (diff)
[Bromley] Report missed bin within 2 working days.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Waste.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Waste.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Waste.pm b/perllib/FixMyStreet/App/Controller/Waste.pm
index e606b1d8c..7556781cf 100644
--- a/perllib/FixMyStreet/App/Controller/Waste.pm
+++ b/perllib/FixMyStreet/App/Controller/Waste.pm
@@ -217,7 +217,7 @@ sub construct_bin_report_form {
my $field_list = [];
foreach (@{$c->stash->{service_data}}) {
- next unless $_->{last};
+ next unless $_->{last} && $_->{report_allowed};
my $id = $_->{service_id};
my $name = $_->{service_name};
push @$field_list, "service-$id" => {