diff options
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Bexley.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bexley.pm b/perllib/FixMyStreet/Cobrand/Bexley.pm index fd90a1c30..5900ba02d 100644 --- a/perllib/FixMyStreet/Cobrand/Bexley.pm +++ b/perllib/FixMyStreet/Cobrand/Bexley.pm @@ -145,10 +145,12 @@ sub open311_post_send { } elsif ($row->category eq 'Dead animal') { $p1_email = 1; $outofhours_email = 1; - } elsif ($row->category eq 'Parks and open spaces') { + } elsif ($row->category eq 'Gulley covers' || $row->category eq 'Manhole covers') { my $reportType = $row->get_extra_field_value('reportType') || ''; - $p1_email = 1 if $reportType =~ /locked in a park|Wild animal/; - $p1_email = 1 if $dangerous eq 'Yes' && $reportType =~ /Playgrounds|park furniture|gates are broken|Vandalism|Other/; + $p1_email = 1 if $reportType eq 'Cover missing'; + $p1_email = 1 if $dangerous eq 'Yes'; + } elsif ($row->category eq 'Damage to kerb' || $row->category eq 'Damaged road' || $row->category eq 'Damaged pavement') { + $p1_email = 1; } elsif (!$lighting{$row->category}) { $p1_email = 1 if $dangerous eq 'Yes'; $outofhours_email = 1 if $dangerous eq 'Yes'; |