aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xweb-admin/index.cgi7
1 files changed, 4 insertions, 3 deletions
diff --git a/web-admin/index.cgi b/web-admin/index.cgi
index d509cea19..34a551a23 100755
--- a/web-admin/index.cgi
+++ b/web-admin/index.cgi
@@ -7,10 +7,10 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: index.cgi,v 1.32 2007-04-30 10:56:31 francis Exp $
+# $Id: index.cgi,v 1.33 2007-05-02 17:02:14 matthew Exp $
#
-my $rcsid = ''; $rcsid .= '$Id: index.cgi,v 1.32 2007-04-30 10:56:31 francis Exp $';
+my $rcsid = ''; $rcsid .= '$Id: index.cgi,v 1.33 2007-05-02 17:02:14 matthew Exp $';
use strict;
@@ -167,7 +167,8 @@ sub do_councils_list ($) {
# Table of councils
print $q->h2("Councils");
my @councils;
- foreach my $type (@$mySociety::VotingArea::council_parent_types) {
+ my @types = grep { !/LGD/ } @$mySociety::VotingArea::council_parent_types;
+ foreach my $type (@types) {
my $areas = mySociety::MaPit::get_areas_by_type($type);
push @councils, @$areas;
}