From 4c9056d8aa1f4e5c804b116252a7ed189085435b Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 10 Aug 2024 18:17:37 +0200 Subject: Release v6.04 --- lib/Travel/Status/DE/HAFAS/Stop.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Travel/Status/DE/HAFAS/Stop.pm') diff --git a/lib/Travel/Status/DE/HAFAS/Stop.pm b/lib/Travel/Status/DE/HAFAS/Stop.pm index 75560de..90eccce 100644 --- a/lib/Travel/Status/DE/HAFAS/Stop.pm +++ b/lib/Travel/Status/DE/HAFAS/Stop.pm @@ -8,7 +8,7 @@ use 5.014; use parent 'Class::Accessor'; -our $VERSION = '6.03'; +our $VERSION = '6.04'; Travel::Status::DE::HAFAS::Stop->mk_ro_accessors( qw(loc @@ -140,7 +140,7 @@ sub new { my $load = $tco_kv->{rRT} // $tco_kv->{r}; # BVG uses 11 .. 13 rather than 1 .. 4 - if ( $load > 10 ) { + if ( defined $load and $load > 10 ) { $load -= 10; } @@ -227,7 +227,7 @@ Travel::Status::DE::HAFAS::Stop - Information about a HAFAS stop. =head1 VERSION -version 6.03 +version 6.04 =head1 DESCRIPTION -- cgit v1.2.3