Commit 10c995e1 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

journey: show error for _all_ invalid IDs

parent 3ce1cfc5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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',