Fix another journey error

This commit is contained in:
Daniel Friesel 2019-03-31 19:38:21 +02:00
parent 10c995e15f
commit 8d843dc432

View file

@ -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',