Skip to content

Commit

Permalink
Fix variable typo of 2.0.2 update
Browse files Browse the repository at this point in the history
  • Loading branch information
PubliAlex committed Apr 12, 2024
1 parent 4e173cf commit a2cb83f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/MagicForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function onFormSubmit() {
Event::fire('publipresse.forms.afterSaveRecord', [&$post, $this, $record]);

// CHECK FOR REDIRECT
if ($this->property('session')) {
if ($this->property('save_in_session')) {
Session::put($this->alias.'-form', $post);
}

Expand Down
4 changes: 3 additions & 1 deletion updates/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@
2.0.1:
- Let filepond also work without turbo
2.0.2:
- Add an advanced option in the component to save submitted data in session, session name will have the following pattern "{{ component.alias }}-form"
- Add an advanced option in the component to save submitted data in session, session name will have the following pattern "{{ component.alias }}-form"
2.0.3:
- Fix variable typo of 2.0.2 update

0 comments on commit a2cb83f

Please sign in to comment.