From b2f1646d91c334bbb082db758a75a0fbc120b25d Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Wed, 27 Jul 2011 17:15:07 +0100 Subject: use the correct council separator character --- perllib/FixMyStreet/DB/Result/User.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perllib/FixMyStreet/DB/Result/User.pm') diff --git a/perllib/FixMyStreet/DB/Result/User.pm b/perllib/FixMyStreet/DB/Result/User.pm index ceced7267..dba182db5 100644 --- a/perllib/FixMyStreet/DB/Result/User.pm +++ b/perllib/FixMyStreet/DB/Result/User.pm @@ -163,7 +163,7 @@ sub belongs_to_council { my $self = shift; my $council = shift; - my %councils = map { $_ => 1 } split ',', $council; + my %councils = map { $_ => 1 } split '\|', $council; return 1 if $self->from_council && $councils{ $self->from_council }; -- cgit v1.2.3