From d72f39ac696a934edafae8bdf5f09f96fa82c625 Mon Sep 17 00:00:00 2001 From: Dave Whiteland Date: Tue, 1 May 2012 15:55:01 +0100 Subject: need to check for 'open311' send_method because (naughtily) there may be services in there that are not open311 (later: rename table?) --- perllib/Open311/PopulateServiceList.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perllib/Open311/PopulateServiceList.pm') diff --git a/perllib/Open311/PopulateServiceList.pm b/perllib/Open311/PopulateServiceList.pm index cfec9005d..2de0679e4 100644 --- a/perllib/Open311/PopulateServiceList.pm +++ b/perllib/Open311/PopulateServiceList.pm @@ -20,6 +20,7 @@ sub process_councils { while ( my $council = $self->council_list->next ) { next unless $council->endpoint; + next unless $council->send_method eq 'open311'; $self->_current_council( $council ); $self->process_council; } -- cgit v1.2.3