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,
|
checkout_id => $checkout_id,
|
||||||
verbose => 1,
|
verbose => 1,
|
||||||
);
|
);
|
||||||
if ( @journeys == 0 or not $journeys[0]{completed}) {
|
if ( @journeys == 0 or $journeys[0]{ids}[1] != $checkout_id) {
|
||||||
$self->render(
|
$self->render(
|
||||||
'journey',
|
'journey',
|
||||||
error => 'notfound',
|
error => 'notfound',
|
||||||
|
|
Loading…
Reference in a new issue