From a7491a345f71b7805d2141424e505408e46e1297 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 10 Jan 2014 12:22:39 +0100 Subject: IRIS.pm: Fix typo introduced in 2c41eecea9d7d5ae563e0390514336e95b7c0c0a --- lib/Travel/Status/DE/IRIS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index 1e39377..203c9bf 100644 --- a/lib/Travel/Status/DE/IRIS.pm +++ b/lib/Travel/Status/DE/IRIS.pm @@ -49,7 +49,7 @@ sub new { $self->{nodes}{station} = ( $xml_st->findnodes('//station') )[0]; - if ( not $self->{node}->{station} ) { + if ( not $self->{nodes}{station} ) { $self->{errstr} = "The station '$opt{station}' has no associated timetable"; return $self; -- cgit v1.2.3