summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/IRIS.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-07-26 10:18:27 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-07-26 10:18:27 +0200
commit69690b10abfaad633bc89eca275bf7f6fd32445d (patch)
treedb2f837e50e08928431239e1e50cfdd42348e39e /lib/Travel/Status/DE/IRIS.pm
parentfabb7616c84ecffd6274263807a3cf9523468569 (diff)
IRIS->new_p: correctly populate related_stations
Diffstat (limited to 'lib/Travel/Status/DE/IRIS.pm')
-rw-r--r--lib/Travel/Status/DE/IRIS.pm2
1 files changed, 1 insertions, 1 deletions
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(