summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/HAFAS/Stop.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-08-10 18:17:37 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-08-10 18:17:37 +0200
commit4c9056d8aa1f4e5c804b116252a7ed189085435b (patch)
treee34a0d56d5ea1306d8a52b2ad1f1f01516106bdb /lib/Travel/Status/DE/HAFAS/Stop.pm
parent2c48152c47ceb5ad07126d10cea06acdbaa5c0ed (diff)
Release v6.046.04
Diffstat (limited to 'lib/Travel/Status/DE/HAFAS/Stop.pm')
-rw-r--r--lib/Travel/Status/DE/HAFAS/Stop.pm6
1 files changed, 3 insertions, 3 deletions
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