Skip to content

Commit ae2dcb9

Browse files
committed
fixup! load submission
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
1 parent c04154b commit ae2dcb9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/Controller/PageController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ public function index(?string $hash = null, ?int $submissionId = null): Template
8888
$submission = $this->submissionMapper->findById($submissionId);
8989
$this->initialState->provideInitialState('submissionId', $submission->id);
9090
} catch (DoesNotExistException $e) {
91-
// Provide null to indicate no form was found
92-
$this->initialState->provideInitialState('submissionId', null);
91+
// Ignore exception and just don't set the initialState value
9392
}
9493
}
9594

0 commit comments

Comments
 (0)