Skip to content

Commit

Permalink
The session storage identifier also needs access to the form fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Toflar committed Feb 15, 2023
1 parent fd37d75 commit aed09d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/FormManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,15 +378,14 @@ private function prepare(): void
}

$this->formModel = $formModel;
$this->loadFormFieldModels();

// Set current session reference from request or generate a new one
$this->initSessionReference();

// Set storage identifier for storage implementations to work with
$this->storageIdentifier = $this->storageIdentifierGenerator->generate($this);

$this->loadFormFieldModels();

if (0 === \count($this->formFieldModels)) {
$this->isValidFormFieldCombination = false;
$this->prepared = true;
Expand Down

0 comments on commit aed09d6

Please # to comment.