diff options
author | Matthew Somerville <matthew@balti.ukcod.org.uk> | 2010-07-22 14:39:37 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@balti.ukcod.org.uk> | 2010-07-22 14:39:37 +0100 |
commit | c8fc4502121fc1c3cb5857708c32e1a5bb2d0a33 (patch) | |
tree | e85f5fc1494a225563efe6446d38334e54555b70 /perllib/Problems.pm | |
parent | d1c37ea5edb5277376b6200324224388b4475375 (diff) |
Update all FixMyStreet mapit calls.
Diffstat (limited to 'perllib/Problems.pm')
-rw-r--r-- | perllib/Problems.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Problems.pm b/perllib/Problems.pm index 7ce082129..161306845 100644 --- a/perllib/Problems.pm +++ b/perllib/Problems.pm @@ -253,7 +253,7 @@ sub problems_matching_criteria { $problem->{council} = \@council_ids; } } - my $areas_info = mySociety::MaPit::get_voting_areas_info(\@councils); + my $areas_info = mySociety::MaPit::call('areas', \@councils); foreach my $problem (@$problems){ if ($problem->{council}) { my @council_names = map { $areas_info->{$_}->{name}} @{$problem->{council}} ; |