diff options
author | Struan Donald <struan@exo.org.uk> | 2011-08-18 23:50:43 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-08-18 23:50:43 +0100 |
commit | 34ae11b13ec02a874badea13bbeb2ee8e7c384de (patch) | |
tree | 0f6e6ad8d178eb5db53f15180e244c4a4bb08032 /perllib/FixMyStreet/DB/Result/User.pm | |
parent | d4d82d697723064e42ae384b28f928bbf6efd7be (diff) |
few more static states
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 }; |