diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-10-04 10:42:38 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-10-04 10:42:38 +0100 |
commit | 9c6bcb0465db99301a09966084d39fb35c329031 (patch) | |
tree | c888b7cbb0160dfc2143cfd6fabe470cb2ef36f6 | |
parent | aa83d4960f30abb98c7639de69bed11253aed7dc (diff) |
Caseinsensitive match.
-rw-r--r-- | perllib/Open311/PopulateServiceList.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Open311/PopulateServiceList.pm b/perllib/Open311/PopulateServiceList.pm index b12d68972..544c13bba 100644 --- a/perllib/Open311/PopulateServiceList.pm +++ b/perllib/Open311/PopulateServiceList.pm @@ -21,7 +21,7 @@ sub process_councils { while ( my $council = $self->council_list->next ) { next unless $council->endpoint; - next unless $council->send_method eq 'open311'; + next unless lc($council->send_method) eq 'open311'; $self->_current_council( $council ); $self->process_council; } |