diff options
-rw-r--r-- | lib/DBInfoscreen.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm index 44a5520..aad1290 100644 --- a/lib/DBInfoscreen.pm +++ b/lib/DBInfoscreen.pm @@ -219,7 +219,7 @@ sub startup { $sched_idx++; } } - while ( $route_idx < $#route ) { + while ( $route_idx <= $#route ) { push( @json_route, { @@ -230,7 +230,7 @@ sub startup { ); $route_idx++; } - while ( $sched_idx < $#sched_route ) { + while ( $sched_idx <= $#sched_route ) { push( @json_route, { |