aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/Cobrand/Bromley.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm
index 18a730d3e..cd923c19d 100644
--- a/perllib/FixMyStreet/Cobrand/Bromley.pm
+++ b/perllib/FixMyStreet/Cobrand/Bromley.pm
@@ -697,6 +697,7 @@ sub _parse_open_events {
sub _parse_schedules {
my $servicetask = shift;
+ return unless $servicetask->{ServiceTaskSchedules};
my $schedules = $servicetask->{ServiceTaskSchedules}{ServiceTaskSchedule};
$schedules = [ $schedules ] unless ref $schedules eq 'ARRAY';