diff options
-rwxr-xr-x | web/reports.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/reports.cgi b/web/reports.cgi index 6c26de91d..69a8d8240 100755 --- a/web/reports.cgi +++ b/web/reports.cgi @@ -83,7 +83,7 @@ sub main { $area_name = $one_council->{name}; } else { foreach (keys %$areas) { - if ($areas->{$_}->{name} =~ /^\Q$q_council\E (Borough|City|District|County) Council$/) { + if ($areas->{$_}->{name} eq $q_council || $areas->{$_}->{name} =~ /^\Q$q_council\E (Borough|City|District|County) Council$/) { $one_council = $areas->{$_}; $area_type = $areas->{$_}->{type}; $area_name = $q_council; |