aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/UK.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-09-28 12:57:01 +0100
committerStruan Donald <struan@exo.org.uk>2012-09-28 12:57:01 +0100
commite31037e1ee3f2b4ca5bcc4238bbe22cbb4a71760 (patch)
treefa824369e7f616eaaf06b02cf34e0452e8ea07c5 /perllib/FixMyStreet/Cobrand/UK.pm
parent5d094d3a3a9114acc7f53e89ace7e9640654b7c3 (diff)
we now return a hash from get_council_sender
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/UK.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/UK.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/Cobrand/UK.pm b/perllib/FixMyStreet/Cobrand/UK.pm
index f0f3e85f6..feb3c9ecf 100644
--- a/perllib/FixMyStreet/Cobrand/UK.pm
+++ b/perllib/FixMyStreet/Cobrand/UK.pm
@@ -33,9 +33,9 @@ sub disambiguate_location {
sub _fallback_council_sender {
my ( $self, $area_id, $area_info, $category ) = @_;
- return 'London' if $area_info->{type} eq 'LBO';
- return 'NI' if $area_info->{type} eq 'LGD';
- return 'Email';
+ return { method => 'London' } if $area_info->{type} eq 'LBO';
+ return { method => 'NI' } if $area_info->{type} eq 'LGD';
+ return { method => 'Email' };
}
sub process_extras {