diff options
author | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-02-21 12:00:29 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-02-21 12:00:29 +0000 |
commit | aca40d6e5da5736515748fc33ff100d9d2b2ee55 (patch) | |
tree | 2f9eed467db671b114f8d695697dade77990f37b /web-admin | |
parent | 0405110b80e5702927ebc9d5d818c23c266fb1fc (diff) |
Remove all encodes, they now cause double-encoding.
Diffstat (limited to 'web-admin')
-rwxr-xr-x | web-admin/index.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web-admin/index.cgi b/web-admin/index.cgi index abcf58a8c..8bb489605 100755 --- a/web-admin/index.cgi +++ b/web-admin/index.cgi @@ -216,7 +216,7 @@ sub admin_councils_list ($) { if $areas->{$_}->{parent_area}; push @li, $q->li($q->a({ href => NewURL($q, area_id => $_, page => 'councilcontacts') }, - encode_utf8($areas->{$_}->{name})) . encode_utf8($parent) . ' ' . + $areas->{$_}->{name}) . $parent . ' ' . ($bci_info->{$_} && $q->{site} ne 'emptyhomes' ? $bci_info->{$_}->{c} . ' addresses' : '')); @@ -310,7 +310,7 @@ sub admin_council_contacts ($$) { # Title my $mapit_data = mySociety::MaPit::call('area', $area_id); - my $title = sprintf(_('Council contacts for %s'), encode_utf8($mapit_data->{name})); + my $title = sprintf(_('Council contacts for %s'), $mapit_data->{name}); print html_head($q, $title); print $q->h1($title); print $updated; @@ -393,7 +393,7 @@ sub admin_council_edit ($$$) { my $mapit_data = mySociety::MaPit::call('area', $area_id); # Title - my $title = sprintf(_('Council contacts for %s'), encode_utf8($mapit_data->{name})); + my $title = sprintf(_('Council contacts for %s'), $mapit_data->{name}); print html_head($q, $title); print $q->h1($title); |