aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xweb/index.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 563465c37..f9428efa3 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -312,7 +312,7 @@ sub submit_problem {
my %va = map { $_ => 1 } @$mySociety::VotingArea::council_parent_types;
my %councils;
foreach (keys %$areas) {
- $councils{$_} = 1 if $va{$areas->{$_}};
+ $councils{$_} = 1 if $va{$areas->{$_}->{type}};
}
my @input_councils = split /,|\|/, $input{council};
foreach (@input_councils) {