Unverified Commit 41ada230 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Connection: skip walking sections without a duration

parent abb23bee
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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(