diff options
author | Struan Donald <struan@exo.org.uk> | 2011-07-27 17:15:07 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-07-27 17:15:07 +0100 |
commit | b2f1646d91c334bbb082db758a75a0fbc120b25d (patch) | |
tree | 77d9e90036261d81df1a8645ff11088b5add99e4 /perllib | |
parent | d6044e4fdada7b6cf24a5ea640839cf708c8d782 (diff) |
use the correct council separator character
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/DB/Result/User.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 }; |