diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-11-01 19:58:13 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-11-01 19:58:13 +0100 |
commit | be60a0f2c67d8e4baa3626a16f7754ab1ed9b567 (patch) | |
tree | 93066b0ba765135cc2f992e27d9f279809e612f8 /lib | |
parent | 5583505fb32d23a277c357f07340347ab4cd282a (diff) |
Result.pm: Fix sorted_sublist invocation (stop reference is an arrayref already)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travel/Status/DE/IRIS/Result.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm index 930533d..ef8cb28 100644 --- a/lib/Travel/Status/DE/IRIS/Result.pm +++ b/lib/Travel/Status/DE/IRIS/Result.pm @@ -231,7 +231,7 @@ sub additional_stops { } ); - return $self->sorted_sublist( [ $self->{route_post} ], + return $self->sorted_sublist( $self->{route_post}, [ $self->{comparator}->get_complement ] ); } @@ -245,7 +245,7 @@ sub canceled_stops { } ); - return $self->sorted_sublist( [ $self->{sched_route_post} ], + return $self->sorted_sublist( $self->{sched_route_post}, [ $self->{comparator}->get_unique ] ); } |