From 5dd37a619971076d8864c476c85930bd51037808 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 5 Jan 2025 11:12:00 +0100 Subject: Departure: Fix ->id accessor --- lib/Travel/Status/DE/EFA/Departure.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travel/Status/DE') 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 ); -- cgit v1.2.3