aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-10-04 10:42:38 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-10-04 10:42:38 +0100
commit9c6bcb0465db99301a09966084d39fb35c329031 (patch)
treec888b7cbb0160dfc2143cfd6fabe470cb2ef36f6
parentaa83d4960f30abb98c7639de69bed11253aed7dc (diff)
Caseinsensitive match.
-rw-r--r--perllib/Open311/PopulateServiceList.pm2
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;
}