mirror of
https://github.com/derf/travelynx
synced 2024-11-10 15:04:17 +00:00
journey: show error for _all_ invalid IDs
This commit is contained in:
parent
3ce1cfc55f
commit
10c995e15f
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ sub journey_details {
|
|||
checkout_id => $checkout_id,
|
||||
verbose => 1,
|
||||
);
|
||||
if ( @journeys == 0 or not $journeys[0]{completed}) {
|
||||
if ( @journeys == 0 or $journeys[0]{ids}[1] != $checkout_id) {
|
||||
$self->render(
|
||||
'journey',
|
||||
error => 'notfound',
|
||||
|
|
Loading…
Reference in a new issue