diff options
-rw-r--r-- | lib/Travel/Status/DE/EFA/Departure.pm | 2 |
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 ); |