aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@cake.ukcod.org.uk>2010-07-26 13:43:11 +0100
committerMatthew Somerville <matthew@cake.ukcod.org.uk>2010-07-26 13:43:11 +0100
commit8c1531397765c96c943a5ee0f8cddd4d091c41d9 (patch)
tree97cadc7a751f5fa015f37328e003c358abccd5fd
parent06c11b89cbe9b3ff11e31f4ba2a5d252becc3c56 (diff)
Need to look up type, it's not just there now.
-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) {