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 /bin/send-questionnaires | |
parent | d1c37ea5edb5277376b6200324224388b4475375 (diff) |
Update all FixMyStreet mapit calls.
Diffstat (limited to 'bin/send-questionnaires')
-rwxr-xr-x | bin/send-questionnaires | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/send-questionnaires b/bin/send-questionnaires index 840f70b2c..eb67cd5d1 100755 --- a/bin/send-questionnaires +++ b/bin/send-questionnaires @@ -70,7 +70,7 @@ foreach my $row (@$unsent) { next unless (Cobrand::email_host($cobrand)); my ($councils, $missing) = $row->{council} =~ /^([\d,]+)(?:\|([\d,]+))?/; my @councils = split /,/, $councils; - my $areas_info = mySociety::MaPit::get_voting_areas_info(\@all_councils); + my $areas_info = mySociety::MaPit::call('areas', \@all_councils); my $template = File::Slurp::read_file("$FindBin::Bin/../templates/emails/questionnaire"); my %h = map { $_ => $row->{$_} } qw/name title detail category/; |