From 69690b10abfaad633bc89eca275bf7f6fd32445d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 26 Jul 2022 10:18:27 +0200 Subject: IRIS->new_p: correctly populate related_stations --- lib/Travel/Status/DE/IRIS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index 4fe8cd7..1a72077 100644 --- a/lib/Travel/Status/DE/IRIS.pm +++ b/lib/Travel/Status/DE/IRIS.pm @@ -87,7 +87,7 @@ sub new_p { } for my $eva (@related_stations) { - @candidates = $opt{get_station}( $opt{station} ); + @candidates = $opt{get_station}($eva); if ( @candidates == 1 ) { push( -- cgit v1.2.3