aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Problems.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@balti.ukcod.org.uk>2010-07-28 19:11:40 +0100
committerMatthew Somerville <matthew@balti.ukcod.org.uk>2010-07-28 19:11:40 +0100
commitc2239ce7c633aec362b90ae6fc2cd33e5783358a (patch)
tree5a845b618fad093b0fb82d2ee19a32738652c5c1 /perllib/Problems.pm
parent67b58b2d000bb504577be3d3711799770bb97c76 (diff)
parentb48cb5f0b482faedbdc0bade429009ac0473d364 (diff)
Merge branch 'master' into cities
Diffstat (limited to 'perllib/Problems.pm')
-rw-r--r--perllib/Problems.pm2
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}} ;