Loading lib/DBInfoscreen/Controller/Stationboard.pm +3 −1 Original line number Diff line number Diff line Loading @@ -210,7 +210,9 @@ sub result_has_train_type { sub result_has_via { my ( $result, $via ) = @_; my @route = $result->route_post; my @route = $result->can('route_post') ? $result->route_post : map { $_->loc->name } $result->route; my $eq_result = List::MoreUtils::any { lc eq lc($via) } @route; Loading Loading
lib/DBInfoscreen/Controller/Stationboard.pm +3 −1 Original line number Diff line number Diff line Loading @@ -210,7 +210,9 @@ sub result_has_train_type { sub result_has_via { my ( $result, $via ) = @_; my @route = $result->route_post; my @route = $result->can('route_post') ? $result->route_post : map { $_->loc->name } $result->route; my $eq_result = List::MoreUtils::any { lc eq lc($via) } @route; Loading