From be60a0f2c67d8e4baa3626a16f7754ab1ed9b567 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 1 Nov 2014 19:58:13 +0100 Subject: Result.pm: Fix sorted_sublist invocation (stop reference is an arrayref already) --- lib/Travel/Status/DE/IRIS/Result.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Travel/Status/DE/IRIS') 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 ] ); } -- cgit v1.2.3