diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-31 19:38:21 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-31 19:38:21 +0200 |
commit | 8d843dc43200e65a7b37d2efa8f73fc1c3b7cc29 (patch) | |
tree | b28b56536509b721151b8919eb4a248b00a05039 /lib/Travelynx | |
parent | 10c995e15f27f133d389a1fff29f5470dad5ce63 (diff) |
Fix another journey error
Diffstat (limited to 'lib/Travelynx')
-rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index d76bb9b..bf61741 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -326,7 +326,7 @@ sub journey_details { checkout_id => $checkout_id, verbose => 1, ); - if ( @journeys == 0 or $journeys[0]{ids}[1] != $checkout_id) { + if ( @journeys == 0 or not $journeys[0]{completed} or $journeys[0]{ids}[1] != $checkout_id) { $self->render( 'journey', error => 'notfound', |