aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/Result/Problem.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-05-27 22:47:32 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-05-27 22:47:32 +0100
commitd2bee2d211a223154128e71cbb3988bba6ead5ce (patch)
tree9bd443036149927fe6dde1e842bdaa4d64ff4cdd /perllib/FixMyStreet/DB/Result/Problem.pm
parent2c864ee44910e4ac7baee71eb8f7050c93550f29 (diff)
Pull request #94, merge fix-emaces-parsing.
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/Problem.pm')
-rw-r--r--perllib/FixMyStreet/DB/Result/Problem.pm4
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);
}