summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-04-09 16:44:37 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-04-09 16:44:37 +0200
commite0388b4fc9b0a949fe172b574c08963943ca3f1a (patch)
tree31075282ee8bd1a1123151e5a4c1b457c3132efc /lib
parent5b40231296a92ed1d0c997b5ca42aa8e9a312945 (diff)
URA: allow line_id in constructor and ->results
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/URA.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/URA.pm b/lib/Travel/Status/DE/URA.pm
index 542f1d7..0b35225 100644
--- a/lib/Travel/Status/DE/URA.pm
+++ b/lib/Travel/Status/DE/URA.pm
@@ -196,12 +196,12 @@ sub results {
my $full_routes = $opt{calculate_routes} // $self->{full_routes} // 0;
my $hide_past = $opt{hide_past} // $self->{hide_past} // 1;
+ my $line_id = $opt{line_id} // $self->{line_id};
my $stop = $opt{stop} // $self->{stop};
my $stop_id = $opt{stop_id} // $self->{stop_id};
my $via = $opt{via} // $self->{via};
my $via_id = $opt{via_id} // $self->{via_id};
- my $line_id = $self->{line_id};
my $dt_now = $self->{datetime};
my $ts_now = $dt_now->epoch;