summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status/DE')
-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 49dc01a..269ea6e 100644
--- a/lib/Travel/Status/DE/IRIS.pm
+++ b/lib/Travel/Status/DE/IRIS.pm
@@ -217,7 +217,7 @@ sub get_station {
printf( " -> %s (%s / %s)\n", @{ $ret[-1] }{qw{name uic ds100}} );
}
- if ( $opt{recursive} ) {
+ if ( $opt{recursive} and defined $station_node->getAttribute('meta') ) {
my @refs
= uniq( split( m{ \| }x, $station_node->getAttribute('meta') ) );
@refs = grep { not( $_ ~~ \@seen or $_ ~~ \@queue ) } @refs;