summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-01-05 11:12:00 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2025-01-05 11:12:00 +0100
commit5dd37a619971076d8864c476c85930bd51037808 (patch)
tree3c8f5e50fc3cc496d80a2d4dde329ee11dfdc3ec /lib
parent922262d1a23bcfece3d7a2a3e623fc347c8b47ae (diff)
Departure: Fix ->id accessorHEADmain
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/EFA/Departure.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/EFA/Departure.pm b/lib/Travel/Status/DE/EFA/Departure.pm
index 2a138d4..a34fab3 100644
--- a/lib/Travel/Status/DE/EFA/Departure.pm
+++ b/lib/Travel/Status/DE/EFA/Departure.pm
@@ -178,7 +178,7 @@ sub id {
return $self->{id} = sprintf( '%s@%d(%s)%d',
$self->stateless =~ s{ }{}gr,
scalar $self->route_pre
- ? ( $self->route_pre )[0]->id
+ ? ( $self->route_pre )[0]->id_num
: $self->stop_id_num,
$self->sched_datetime->strftime('%Y%m%d'),
$self->key );