summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/URA/Result.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status/DE/URA/Result.pm')
-rw-r--r--lib/Travel/Status/DE/URA/Result.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/URA/Result.pm b/lib/Travel/Status/DE/URA/Result.pm
index 8ead690..b3a17c3 100644
--- a/lib/Travel/Status/DE/URA/Result.pm
+++ b/lib/Travel/Status/DE/URA/Result.pm
@@ -59,7 +59,7 @@ sub type {
sub route_interesting {
my ( $self, $max_parts ) = @_;
- my @via = map { $_->[1] } @{ $self->{route_post} };
+ my @via = map { $_->name } @{ $self->{route_post} };
my ( @via_main, @via_show, $last_stop );
$max_parts //= 3;