aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Bexley.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Bexley.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/Bexley.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bexley.pm b/perllib/FixMyStreet/Cobrand/Bexley.pm
index bfdb3c74b..481926e72 100644
--- a/perllib/FixMyStreet/Cobrand/Bexley.pm
+++ b/perllib/FixMyStreet/Cobrand/Bexley.pm
@@ -172,6 +172,12 @@ sub open311_post_send {
$p1_email = 1;
$outofhours_email = 1;
}
+ } elsif ($row->category eq 'Street cleaning and litter') {
+ my $reportType = $row->get_extra_field_value('reportType') || '';
+ if ($reportType eq 'Oil spillage' || $dangerous eq 'Yes') {
+ $p1_email = 1;
+ $outofhours_email = 1;
+ }
} elsif ($row->category eq 'Damage to kerb' || $row->category eq 'Damaged road' || $row->category eq 'Damaged pavement') {
$p1_email = 1;
$outofhours_email = 1;