diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2019-02-24 10:28:58 +0100 |
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2019-02-24 10:28:58 +0100 |
| commit | d7d96dcf03d610562b13cc3096e0871b18242734 (patch) | |
| tree | c334388b9e75afa8b43f62189645e951882b1fd2 /lib | |
| parent | 212cabbbc1de56e5addd0f79d3556e87c401e4cd (diff) | |
Do not throw warning when encountering a train with no classes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Travel/Status/DE/IRIS/Result.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm index d5efd2c..d5ce07a 100644 --- a/lib/Travel/Status/DE/IRIS/Result.pm +++ b/lib/Travel/Status/DE/IRIS/Result.pm @@ -474,7 +474,7 @@ sub canceled_stops { sub classes { my ($self) = @_; - my @classes = split( //, $self->{classes} ); + my @classes = split( //, $self->{classes} // q{} ); return @classes; } |
