diff options
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/User.pm')
-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 d2e43b5b0..56d726a8d 100644 --- a/perllib/FixMyStreet/DB/Result/User.pm +++ b/perllib/FixMyStreet/DB/Result/User.pm @@ -165,7 +165,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 }; |