summaryrefslogtreecommitdiff
path: root/lib/Travel/Status
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-11-01 19:58:13 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-11-01 19:58:13 +0100
commitbe60a0f2c67d8e4baa3626a16f7754ab1ed9b567 (patch)
tree93066b0ba765135cc2f992e27d9f279809e612f8 /lib/Travel/Status
parent5583505fb32d23a277c357f07340347ab4cd282a (diff)
Result.pm: Fix sorted_sublist invocation (stop reference is an arrayref already)
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r--lib/Travel/Status/DE/IRIS/Result.pm4
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 ] );
}