We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33ce1ff commit 662fb39Copy full SHA for 662fb39
src/controllers/PartialUserFormVerifyController.php
@@ -44,14 +44,14 @@ public function init()
44
{
45
parent::init();
46
$session = $this->getRequest()->getSession();
47
- $sessionKey = PartialSubmissionController::SESSION_KEY;
+ $sessionID = $session->get(PartialSubmissionController::SESSION_KEY);
48
// Set the session if the last session has expired
49
- if (!$session->get($sessionKey)) {
+ if (!$sessionID) {
50
return $this->httpError(404);
51
}
52
53
/** @var PartialFormSubmission $partial */
54
- $partial = PartialFormSubmission::get()->byID($session->get($sessionKey));
+ $partial = PartialFormSubmission::get()->byID($sessionID);
55
56
$this->setPartialFormSubmission($partial);
57
// Set data record and load the form
0 commit comments