diff options
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/Problem.pm')
-rw-r--r-- | perllib/FixMyStreet/DB/Result/Problem.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Problem.pm b/perllib/FixMyStreet/DB/Result/Problem.pm index 426f791c7..6a5b01906 100644 --- a/perllib/FixMyStreet/DB/Result/Problem.pm +++ b/perllib/FixMyStreet/DB/Result/Problem.pm @@ -232,7 +232,7 @@ sub councils { my $self = shift; return () unless $self->council; (my $council = $self->council) =~ s/\|.*$//; - my @council = split /,/, $council; + my @council = split( /,/, $council ); return @council; } @@ -354,7 +354,7 @@ sub duration_string { $body = $problem->external_body; } else { (my $council = $problem->council) =~ s/\|.*//g; - my @councils = split /,/, $council; + my @councils = split( /,/, $council ); my $areas_info = mySociety::MaPit::call('areas', \@councils); $body = join(' and ', map { $areas_info->{$_}->{name} } @councils); } |