diff options
author | matthew <matthew> | 2007-05-02 17:02:14 +0000 |
---|---|---|
committer | matthew <matthew> | 2007-05-02 17:02:14 +0000 |
commit | 09f8e62e2f1b78d673398288a6ec90819b633dc9 (patch) | |
tree | 8e50758cee1e4878a9cbaf2c8fc6d90a9a1d2d6d | |
parent | 6f6b5a3d5e308aea7f009c5917fb381f883bd237 (diff) |
Ignore NI in admin interface.
-rwxr-xr-x | web-admin/index.cgi | 7 |
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; } |