diff options
-rwxr-xr-x | bin/fixmystreet.com/fixture | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fixmystreet.com/fixture b/bin/fixmystreet.com/fixture index f4a9fbef1..1062eb16b 100755 --- a/bin/fixmystreet.com/fixture +++ b/bin/fixmystreet.com/fixture @@ -302,7 +302,7 @@ if ($opt->coords) { my $cobrand = 'default'; foreach (FixMyStreet::Cobrand->available_cobrand_classes) { my $sub = $_->{class} && $_->{class}->can('council_area_id'); - if ($sub && &$sub == $opt->area_id) { + if ($sub && &$sub($_->{class}) == $opt->area_id) { $cobrand = $_->{class}->moniker; last; } |