diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-11-25 19:37:14 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-11-25 19:37:14 +0100 |
commit | afcbe927aca4d5ff86a326a6751a924d2d371113 (patch) | |
tree | 05747a873e8f03176c076ed048b888dc75745d8f /lib/DBInfoscreen | |
parent | d310517ca6fe7a710dfe4cd281a9891ad11e13af (diff) |
fix uninitialized value warning2.3.14
Diffstat (limited to 'lib/DBInfoscreen')
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 803185f..668fb71 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -1024,7 +1024,7 @@ sub handle_request { } } } - if ( @{ $route_info->{messages} } ) { + if ( $route_info and @{ $route_info->{messages} } ) { my $him = $route_info->{messages}; my @him_messages; $departures[-1]{messages}{him} = $him; |