diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travel/Routing/DE/HAFAS/Connection.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Travel/Routing/DE/HAFAS/Connection.pm b/lib/Travel/Routing/DE/HAFAS/Connection.pm index e70dd26..dacecaf 100644 --- a/lib/Travel/Routing/DE/HAFAS/Connection.pm +++ b/lib/Travel/Routing/DE/HAFAS/Connection.pm @@ -89,6 +89,9 @@ sub new { my @sections; for my $sec (@secL) { + if ( $sec->{type} eq 'WALK' and not $sec->{gis}{durS} ) { + next; + } push( @sections, Travel::Routing::DE::HAFAS::Connection::Section->new( |