aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/SendReport/EmptyHomes.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-08-29 17:43:22 +0100
committerStruan Donald <struan@exo.org.uk>2012-08-29 17:43:22 +0100
commit0fad1a7b85ac83dce778b7dd22cd9d74f524ce23 (patch)
treeb74e71b18b6cd8d267b29b264f8af89e801b9ca9 /perllib/FixMyStreet/SendReport/EmptyHomes.pm
parent716c333de51d06e289f0dd798ec675b6466e336a (diff)
allow endpoints to be configured at a category level
default cobrand now checks for endpoint configuration and only extra fallbacks are in UK cobrand
Diffstat (limited to 'perllib/FixMyStreet/SendReport/EmptyHomes.pm')
-rw-r--r--perllib/FixMyStreet/SendReport/EmptyHomes.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/SendReport/EmptyHomes.pm b/perllib/FixMyStreet/SendReport/EmptyHomes.pm
index e1b914523..4a6f058fe 100644
--- a/perllib/FixMyStreet/SendReport/EmptyHomes.pm
+++ b/perllib/FixMyStreet/SendReport/EmptyHomes.pm
@@ -28,7 +28,7 @@ sub build_recipient_list {
#$note{$council_email}{$row->category} = $note;
}
- push @{ $self->to }, [ $council_email, $self->councils->{ $council }->{name} ];
+ push @{ $self->to }, [ $council_email, $self->councils->{ $council }->{ info }->{name} ];
$recips{$council_email} = 1;
my $country = $self->councils->{$council}->{country};