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 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 }; |