diff options
author | Dave Whiteland <dave@mysociety.org> | 2012-05-01 15:55:01 +0100 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2012-05-01 15:55:01 +0100 |
commit | d72f39ac696a934edafae8bdf5f09f96fa82c625 (patch) | |
tree | c0b2e53d2f4e9ce602d8470c64367da5b5be323f /perllib/Open311/PopulateServiceList.pm | |
parent | 9afdb0f0d2d523dc4fc1d65557abbd4685be5b36 (diff) |
need to check for 'open311' send_method because (naughtily) there may be services in there that are not open311 (later: rename table?)
Diffstat (limited to 'perllib/Open311/PopulateServiceList.pm')
-rw-r--r-- | perllib/Open311/PopulateServiceList.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |