public_status_card: fix uninitialized value warning
This commit is contained in:
parent
4f0fee7783
commit
5e03718f14
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@
|
|||
</div>
|
||||
<div class="center-align hide-on-small-only">
|
||||
% for my $station (@{$journey->{route_after}}) {
|
||||
% if ($station->[0] eq $journey->{arr_name}) {
|
||||
% if ($journey->{arr_name} and $station->[0] eq $journey->{arr_name}) {
|
||||
% last;
|
||||
% }
|
||||
% if (($station->[1]{rt_arr_countdown} // 0) > 0) {
|
||||
|
@ -97,7 +97,7 @@
|
|||
</div>
|
||||
<div class="hide-on-med-and-up" style="margin-top: 2ex;">
|
||||
% for my $station (@{$journey->{route_after}}) {
|
||||
% if ($station->[0] eq $journey->{arr_name}) {
|
||||
% if ($journey->{arr_name} and $station->[0] eq $journey->{arr_name}) {
|
||||
% last;
|
||||
% }
|
||||
% if (($station->[1]{rt_arr_countdown} // 0) > 0) {
|
||||
|
|
Loading…
Reference in a new issue