summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/DBWagenreihung.pm b/lib/Travel/Status/DE/DBWagenreihung.pm
index 0a750b5..6d4f551 100644
--- a/lib/Travel/Status/DE/DBWagenreihung.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung.pm
@@ -101,6 +101,9 @@ sub sections {
for my $section ( @{ $self->{data}{istformation}{halt}{allSektor} } ) {
my $pos = $section->{positionamgleis};
+ if ( $pos->{startprozent} eq '' or $pos->{endeprozent} eq '' ) {
+ next;
+ }
push(
@{ $self->{sections} },
Travel::Status::DE::DBWagenreihung::Section->new(